Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0.AM26
-
None
Description
Moddn operation where the new DN matches an already existing entry overrides that entry
dn: uid=bar,dc=example,dc=com changetype: add objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: top uid: bar cn: bar sn: bar dn: uid=foo,dc=example,dc=com changetype: add objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: top uid: foo cn: foo sn: foo dn: uid=bar,dc=example,dc=com changetype: moddn newrdn: uid=foo deleteoldrdn: 1 newsuperior: dc=example,dc=com
Result is that uid=bar is gone and uid=foo has attributes of bar.
dn: uid=foo,dc=example,dc=com objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: top cn: bar sn: bar uid: foo
Expected: Error 68 (entryAlreadyExists)