hi!
I have a problem: I have to add a memberUid attribute in ldap directory
and I use modify_s() and MOD_ADD but I get this error:
{'info': 'modify/add: memberUid: value #0 already exists', 'desc': 'Type
or value exists'}
I know that another memberUid exists but I have to add another one.
In docs (http://csci.mrs.umn.edu/twiki/view/Dungeon/PythonLDAP) I see:
Objects can have more than one value of the same type. For instance, grou=
p
objects have a memberUid entry for each user that is in them. Use MOD_ADD
to add new entries, and MOD_REPLACE to change the value of entries.
I use ldap 2.2.23-8 (sarge) and samba.
A group can have multiple memberUids or not?
Thanks in advance,
Fabio
|