Issue Details (XML | Word | Printable)

Key: DIRSERVER-628
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Stefan Zoerner
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

Creation of entry with multivalued RDN leads to wrong attribute value

Created: 01/Jun/06 07:44 PM   Updated: 08/Aug/06 08:54 PM
Return to search
Component/s: None
Affects Version/s: 1.0-RC3
Fix Version/s: 1.5.0, 1.0-RC4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works DIRSERVER-628.patch 2006-08-02 06:01 PM Alex Karasulu 7 kB
Java Source File Licensed for inclusion in ASF works MultiValuedRdnTest.java 2006-06-01 07:52 PM Stefan Zoerner 2 kB
Environment:
ApacheDS 1.0 RC 3
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Microsoft Windows XP version 5.1 Service Pack 1
Issue Links:
Reference
 

Resolution Date: 02/Aug/06 07:27 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.