Apache Directory Project - [jira] Created: (DIRSERVER-628) Creation of entry with multivalued

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > June 2006 > [jira] Created: (DIRSERVER-628) Creation of entry with multivalued





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIRSERVER-628) Creation of entry with multivalued
Stefan Zoerner (JIRA)

2006-06-01, 1:12 pm

Creation of entry with multivalued RDN leads to wrong attribute value
---------------------------------------------------------------------

Key: DIRSERVER-628
URL: http://issues.apache.org/jira/browse/DIRSERVER-628
Project: Directory ApacheDS
Type: Bug

Versions: 1.0-RC3
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
Reporter: Stefan Zoerner


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com