[389-users] 389 python library and freeipa scripts
Roberto Polli
rpolli at babel.it
Tue Jun 11 11:26:45 UTC 2013
Hi Rich and any other interested people,
I create a new branch of dsadmin library to reorganize its methods.
https://github.com/ioggstream/dsadmin/tree/renaming_methods
While doing this I'll try to merge some of the work made in freeipa .py
scripts - partly based on Rich work.
The final result should let you access stuff like this:
conn = DSAdmin(host='localhost', port=389)
# all backend methods under .backend
conn.backend.add()
conn.backend.list(suffix=None)
# all replication stuff under .replica
conn.replica.add()
conn.replica.list() #entries
conn.replica.agreements(dn=True) # list only agreements' dn
conn.replica.agreements_add()
conn.replica.ruv(suffix=None) #get ruv
Your opinion/support is welcome!
Peace,
R.
--
Roberto Polli
Community Manager
Babel S.r.l. - http://www.babel.it
T: +39.06.9826.9651 M: +39.340.652.2736 F: +39.06.9826.9680
P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma)
CONFIDENZIALE: Questo messaggio ed i suoi allegati sono di carattere
confidenziale per i destinatari in indirizzo.
E' vietato l'inoltro non autorizzato a destinatari diversi da quelli indicati
nel messaggio originale.
Se ricevuto per errore, l'uso del contenuto e' proibito; si prega di
comunicarlo al mittente e cancellarlo immediatamente.
More information about the 389-users
mailing list