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

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2006 > [jira] Closed: (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] Closed: (DIRSERVER-628) Creation of entry with multivalued
Alex Karasulu (JIRA)

2006-08-02, 7:11 pm

[ http://issues.apache.org/jira/brows...ER-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/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