[python-ldap] how to create ou or group ?
Michael Ströder
michael at stroeder.com
Sun Oct 12 14:01:30 CEST 2014
Ali Reza wrote:
> How can i create an ou or group in active directory ?
Just like any other entry using the appropriate set of object classes and
attributes.
Make yourself familiar with
http://www.python-ldap.org/doc/html/ldap.html#ldap.LDAPObject.add
http://www.python-ldap.org/doc/html/ldap.html#ldap.LDAPObject.modify
You probably want to use the synchronous methods add_s() and modify_s().
Ciao, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4252 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20141012/a57ab77b/attachment.bin>
More information about the python-ldap
mailing list