Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 51724 invoked from network); 15 Feb 2009 19:43:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2009 19:43:23 -0000 Received: (qmail 63631 invoked by uid 500); 15 Feb 2009 19:43:22 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 63580 invoked by uid 500); 15 Feb 2009 19:43:22 -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 63571 invoked by uid 99); 15 Feb 2009 19:43:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Feb 2009 11:43:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Feb 2009 19:43:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B4383234C48D for ; Sun, 15 Feb 2009 11:42:59 -0800 (PST) Message-ID: <1974461653.1234726979737.JavaMail.jira@brutus> Date: Sun, 15 Feb 2009 11:42:59 -0800 (PST) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Closed: (DIRSERVER-1145) Unable to search RootDSE Operational attributes In-Reply-To: <2110673715.1205165869615.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 [ https://issues.apache.org/jira/browse/DIRSERVER-1145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny closed DIRSERVER-1145. ---------------------------------------- closed > Unable to search RootDSE Operational attributes > ----------------------------------------------- > > Key: DIRSERVER-1145 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1145 > Project: Directory ApacheDS > Issue Type: Bug > Components: ldap > Affects Versions: 1.5.4 > Reporter: Icky Dude > Assignee: Alex Karasulu > Fix For: 1.5.2 > > > Using "bigbang" I've found that ApacheDS does not respond properly to > Root DSE searches for both "+" (all operational) and "*" (all > non-operational) attributes". I believe that the following change > fixes the problem: > $ svn diff DefaultPartitionNexus.java > Index: DefaultPartitionNexus.java > =================================================================== > --- DefaultPartitionNexus.java (revision 634445) > +++ DefaultPartitionNexus.java (working copy) > @@ -1002,7 +1002,7 @@ > { > serverEntry.put( attribute ); > } > - else if ( containsPlus && ( type.getUsage() == > UsageEnum.USER_APPLICATIONS ) ) > + else if ( containsPlus && ( type.getUsage() != > UsageEnum.USER_APPLICATIONS ) ) > { > serverEntry.put( attribute ); > } > Without this fix, ApacheDS treats the following ldap searches return > identical responses (neither will return operational attributes): > $ ldapsearch -x -h localhost -p10389 -s base -b "" '+' > $ ldapsearch -x -h localhost -p10389 -s base -b "" '*' > With the fix, ApacheDS responds correctly -- or as least as correct > with respect to the attribute usage assigned to the rootDSE > attributes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.