modify_s

Vitaliyi imgrey at gmail.com
Sun Dec 31 08:57:19 CET 2006


I found out that ldap.modify_s behaves strangely, at least from my
point of view:

l.modify_s(dn,[(ldap.MOD_REPLACE,'someAttr',str(whatever))])
will drop attribute, but with list  ([str(whatever)]), parameter do as expected.




More information about the python-ldap mailing list