how to use modlist?

tnd at it.fts-vn.com tnd at it.fts-vn.com
Tue Jan 4 10:12:12 CET 2005


Sorry for my stupid question but the document on ldap.modlist is not 
clear and no example.
I've tried to use function addModlist like below
ldap.modlist.addModlist(['key','value'])
and receive the error
...
AttributeError: 'list' object has no attribute 'keys'

Could you give me a small example to use modlist correctly.
Thanks.

(--ntdt--)





More information about the python-ldap mailing list