Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 65780 invoked from network); 13 Aug 2006 11:48:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Aug 2006 11:48:15 -0000 Received: (qmail 67951 invoked by uid 500); 13 Aug 2006 11:48:14 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 67899 invoked by uid 500); 13 Aug 2006 11:48:14 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 67888 invoked by uid 99); 13 Aug 2006 11:48:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 04:48:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 04:48:13 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53B27410010 for ; Sun, 13 Aug 2006 11:45:18 +0000 (GMT) Message-ID: <4821619.1155469518339.JavaMail.jira@brutus> Date: Sun, 13 Aug 2006 04:45:18 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-703) Creation of an entry with multivalued RDN leads to wrong DN in search results. In-Reply-To: <32134883.1155070213930.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-703?page=all ] Emmanuel Lecharny resolved DIRSERVER-703. ----------------------------------------- Resolution: Fixed Fixed in revision 431163 & 431164 for 1.0 and 1.1 branches. This was a stupid mistake... (does anybody have heard about intelligent mistakes ? ;), upName was computed before the loop which parse the others atavs. > Creation of an entry with multivalued RDN leads to wrong DN in search results. > ------------------------------------------------------------------------------ > > Key: DIRSERVER-703 > URL: http://issues.apache.org/jira/browse/DIRSERVER-703 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0-RC4 > Environment: * ApacheDS 1.0 RC4 SNAPSHOT > * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) > * Windows XP Professional SP2 > Reporter: Stefan Zoerner > Assigned To: Emmanuel Lecharny > Attachments: addedTestsToSVN.ldif, badUpnameWithRdn.patch, MultiValuedRdnTest.java > > > I use Apache Directoty Server 1.0 RC4 SNAPSHOT with server.xml unchanged. If I create an entry with multivalued RDN like this: > dn: cn=Kate Bush+sn=Bush,dc=example,dc=com > objectclass: top > objectclass: person > sn: Bush > cn: Kate Bush > i.e. > $ ldapmodify -D "uid=admin,ou=system" -w ****** -a -f multiValued.ldif > adding new entry cn=Kate Bush+sn=Bush,dc=example,dc=com > $ > the entry is returned in searches with a wrong dn: > $ ldapsearch -D "uid=admin,ou=system" -w ****** -b "dc=example,dc=com" -s one "(sn=Bush)" > version: 1 > dn: cn=Kate Bush,dc=example,dc=com > objectclass: person > objectclass: top > sn: Bush > cn: Kate Bush > $ ldapsearch -D "uid=admin,ou=system" -w ****** -b "cn=Kate Bush+sn=Bush,dc=example,dc=com" -s base "(sn=Bush)" > version: 1 > dn: cn=Kate Bush,dc=example,dc=com > objectclass: person > objectclass: top > sn: Bush > cn: Kate Bush > $ > The expected dn is cn=Kate Bush+sn=Bush,dc=example,dc=com in both cases. > I'll attach a JUnit test which demonstrates this issue soon. -- 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