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

Cornelius Kölbel cornelius.koelbel at lsexperts.de
Wed Feb 20 08:57:20 CET 2013


Thanks a lot.

Kind regards
Cornelius

Am 19.02.2013 20:44, schrieb Navendu Gupta:
> 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
> <mailto: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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130220/64798ccd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20130220/64798ccd/attachment.pgp>


More information about the python-ldap mailing list