[python-ldap] adding object with python-ldap 2.3

Navendu Gupta navendu at ideadevice.com
Tue Feb 19 20:44:25 CET 2013


you can pass list of attrs also.

list of tuples (ldap.MOD_ADD, attr, value)


Thanks
Navendu Gupta
Idea Device


On Tue, Feb 19, 2013 at 8:34 PM, Cornelius Kölbel <
cornelius.koelbel at lsexperts.de> wrote:

> Hello,
>
> I see that adding an object to an LDAP is done via add(dn, modlist).
>
> Unfortunately we got installations running python-ldap 2.3.x.
> I seems that modlist was introduced with python-ldap 2.4. So how would I
> add an object with python-ldap 2.3?
>
> Thanks a lot and kind regards
> Cornelius
>
>
> _______________________________________________
> python-ldap mailing list
> python-ldap at python.org
> http://mail.python.org/mailman/listinfo/python-ldap
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130220/f4e172ab/attachment.html>


More information about the python-ldap mailing list