Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 66130 invoked from network); 29 Mar 2005 01:47:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2005 01:47:22 -0000 Received: (qmail 11645 invoked by uid 500); 29 Mar 2005 01:47:21 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 11508 invoked by uid 500); 29 Mar 2005 01:47:21 -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 11492 invoked by uid 99); 29 Mar 2005 01:47:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 28 Mar 2005 17:47:20 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5CA4E288 for ; Tue, 29 Mar 2005 03:47:18 +0200 (CEST) Message-ID: <948295554.1112060838055.JavaMail.jira@ajax.apache.org> Date: Tue, 29 Mar 2005 03:47:18 +0200 (CEST) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIREVE-137) Problems with mixed-case in suffix Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIREVE-137?page=history ] Alex Karasulu resolved DIREVE-137: ---------------------------------- Resolution: Fixed Fixed with new NormalizationService and the application of a few changes in certain places mentioned. Looks like the test case would not work anyway since the patch had a bug looking up ou=MixedCase when the partition was created on dc=MixedCase. However I committed and made the changes so the test is now incorportated on commit 159339: http://svn.apache.org/viewcvs.cgi?rev=159339&view=rev > Problems with mixed-case in suffix > ---------------------------------- > > Key: DIREVE-137 > URL: http://issues.apache.org/jira/browse/DIREVE-137 > Project: Directory Server > Type: Bug > Components: jdbm database, jndi-provider, server main > Versions: 0.8 > Reporter: Endi S. Dewata > Assignee: Alex Karasulu > Priority: Minor > Fix For: 0.9 > Attachments: mixed-case.patch > > The server currently has some problems with suffixes that contain mixed cases, e.g. dc=VergeNet, dc=com. > 1. Add > ------ > 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. > 2. Search > --------- > 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. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira