You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <ji...@apache.org> on 2006/08/02 21:29:14 UTC

[jira] Closed: (DIRSERVER-628) Creation of entry with multivalued RDN leads to wrong attribute value

     [ http://issues.apache.org/jira/browse/DIRSERVER-628?page=all ]

Alex Karasulu closed DIRSERVER-628.
-----------------------------------

    Fix Version/s: 1.1.0
                   1.0-RC4
       Resolution: Fixed

Applied patch to trunk 1.1 branch and to 1.0 branch.

> 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
>          Issue Type: Bug
>    Affects 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
>         Assigned To: Alex Karasulu
>             Fix For: 1.1.0, 1.0-RC4
>
>         Attachments: DIRSERVER-628.patch, 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