Adding objectClass to existing dn

Robert Cooke r.cooke at
Tue Feb 1 14:37:31 CET 2005


I've been trying to add an objectClass to an existing dn.
Now I get messages like :

{'info': "attribute 'cn' not allowed", 'desc': 'Object class violation'}
{'info': 'modify/add: objectClass: value #0 already exists', 'desc':
'Type or value exists'}

In my modlist are all the values nessecary I though. It feels like
the chicken and the egg problem.

To insert an objectClass you need the must attributes and to get the
attributes you need the new objectClass.

Please tell me what I'm missing here.

Thanks robert

More information about the python-ldap mailing list