[email protected] wrote: > If I explicitly remove all object classes of an entry by value and re-add some > of them the modify requests fail with > "Type or value exists: modify/add: objectClass: value #1 already exists" > > Unfortunately I cannot provide a simple example for showing this. Specific > configuration and data upon request since it's private data which MUST NOT be > disclosed.
I think I found an example with standard object classes. The problem seems to be the order of the inherited STRUCTURAL object classes. (Tests done with HEAD.) Import this entry and try to remove 'labeledURIObject' from it: dn: ou=oc-mod-test,ou=Testing,dc=stroeder,dc=de objectClass: OpenLDAPou objectClass: organizationalUnit objectClass: labeledURIObject ou: oc-mod-test If you reverse the order of the STRUCTURAL object classes or remove 'organizationalUnit' and let slapd re-add it works. objectClass: organizationalUnit objectClass: OpenLDAPou
