<div dir="ltr"><div>you can pass list of attrs also.<br></div><div><br></div><div>list of tuples (ldap.MOD_ADD, attr, value)</div><div><br></div><div><br></div><div>Thanks</div><div>Navendu Gupta</div><div>Idea Device</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 8:34 PM, Cornelius Kölbel <span dir="ltr"><<a href="mailto:cornelius.koelbel@lsexperts.de" target="_blank">cornelius.koelbel@lsexperts.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I see that adding an object to an LDAP is done via add(dn, modlist).<br>
<br>
Unfortunately we got installations running python-ldap 2.3.x.<br>
I seems that modlist was introduced with python-ldap 2.4. So how would I<br>
add an object with python-ldap 2.3?<br>
<br>
Thanks a lot and kind regards<br>
<span class="HOEnZb"><font color="#888888">Cornelius<br>
<br>
</font></span><br>_______________________________________________<br>
python-ldap mailing list<br>
<a href="mailto:python-ldap@python.org">python-ldap@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ldap" target="_blank">http://mail.python.org/mailman/listinfo/python-ldap</a><br>
<br></blockquote></div><br></div></div>