[python-ldap] how to create ou or group ?
Ali Reza
alirezaimi at gmail.com
Tue Oct 14 07:28:24 CEST 2014
I tested another configs for attr and objects, but not work and can not
create a ou or group ,
can u explain more or give me some clue ?(with an example)
thanks alot for support.
On Sun, Oct 12, 2014 at 3:31 PM, Michael Ströder <michael at stroeder.com>
wrote:
> 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.
>
>
>
--
*>>> print (" Alireza Mazare'i ")*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20141014/9fc94312/attachment.html>
More information about the python-ldap
mailing list