Details
Description
Adding the following entry to ApacheDS (server.xml configuration unchanged):
dn: cn=Kate Bush+sn=Bush,dc=example,dc=com
objectclass: top
objectclass: person
sn: Bush
cn: Kate Bush
i.e.
$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -a -f KateBush.ldif
leads to an entry with wrong value for cn:
$ ldapsearch -h localhost -p 10389 -D "uid=admin,ou=system" -w secret -b "dc=example,dc=com" -s sub "(sn=Bush)"
version: 1
dn: cn=Kate Bush+sn=Bush,dc=example,dc=com
objectclass: person
objectclass: top
sn: Bush
cn: Kate Bush+sn=Bush
Note the value of cn is "Kate Bush+sn=Bush", not "Kate Bush" as expected.
The same behavior with corresponding JNDI code, I will attach a simple JUnit test for this.
Attachments
Attachments
Issue Links
- relates to
-
DIRSERVER-703 Creation of an entry with multivalued RDN leads to wrong DN in search results.
- Closed