Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 43492 invoked from network); 8 Feb 2005 23:45:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Feb 2005 23:45:43 -0000 Received: (qmail 24997 invoked by uid 500); 8 Feb 2005 23:45:43 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 24946 invoked by uid 500); 8 Feb 2005 23:45:42 -0000 Mailing-List: contact directory-dev-help@incubator.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 directory-dev@incubator.apache.org Received: (qmail 24932 invoked by uid 99); 8 Feb 2005 23:45:42 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of aok123@bellsouth.net designates 205.152.59.64 as permitted sender) Received: from imf16aec.mail.bellsouth.net (HELO imf16aec.mail.bellsouth.net) (205.152.59.64) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Feb 2005 15:45:41 -0800 Received: from [172.16.1.7] ([65.80.200.112]) by imf16aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP id <20050208234539.PGLN1983.imf16aec.mail.bellsouth.net@[172.16.1.7]> for ; Tue, 8 Feb 2005 18:45:39 -0500 Message-ID: <42094F23.5000807@bellsouth.net> Date: Tue, 08 Feb 2005 18:45:39 -0500 From: Alex Karasulu User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: Problem with mixed case in suffix References: <20050208231813.C353F13FE4@mail.vergenet.com> In-Reply-To: <20050208231813.C353F13FE4@mail.vergenet.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Yep Endi you caught a bug - good job! Could you go through the motions of filing it via JIRA? Thanks much, Alex Endi Sukma Dewata wrote: > Hi, > > I�m Endi Dewata from Verge Archemedia Labs in Austin, TX. I�m working > with Adison Wongkar trying to hook up our Virtual Directory product > with ApacheDS. So far so good, but it seems that we just found a minor > problem with suffixes that contain capital letters (e.g. > dc=VergeNet,dc=com). It�s not a blocking problem for us, but I just > want to know if this is a known issue or has been addressed before. > Here�s the description of the problem: > > In ServerContextFactory.java line #630, JdbmDatabase is initialized > with un-normalized suffix. > > Database db = new JdbmDatabase( upSuffix, wkdir ); > > But in JdbmDatabase.java line #673, when adding an entry to the > database, the suffix is compared with the normalized dn of the new entry. > > if ( dn.equals( suffix ) ) > > This is causing the add operation to fail. > > A similar problem also happens here. In RootNexus.java line #203, the > suffix is being normalized during registration. > > backends.put( backend.getSuffix( true ).toString(), backend ); > > However, in RootNexus.java line #556, the dn used to look up the > backend is not normalized. > > return ( ContextPartition ) backends.get( clonedDn.toString() ); > > This is causing the search operation to fail. > > Should I file a bug? Thank you very much. > > -- > > Endi S. Dewata >