[python-ldap] multiples values in roleOccupant

Michael Ströder michael at stroeder.com
Tue Aug 2 12:03:57 CEST 2011


Francis Abrante wrote:
> Thanks for your help :)
> But, if I have already values in the field? they are overwrite? 

The modlist with ldap.MOD_ADD adds another value to an already existing
attribute. Note that if the particular value already exists you get an error
by most LDAP servers.

Ciao, Michael.


More information about the python-ldap mailing list