directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Zoerner (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-628) Creation of entry with multivalued RDN leads to wrong attribute value
Date Thu, 01 Jun 2006 12:53:30 GMT
     [ http://issues.apache.org/jira/browse/DIRSERVER-628?page=all ]

Stefan Zoerner updated DIRSERVER-628:
-------------------------------------

    Attachment: MultiValuedRdnTest.java

Here is a simple JUnit test which demonstrates the issue. The test passes with Sun Java System
Directory Server 5.2, for instance.

> 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
>  Attachments: MultiValuedRdnTest.java
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message