Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 2645 invoked from network); 23 Aug 2008 14:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2008 14:58:35 -0000 Received: (qmail 5790 invoked by uid 500); 23 Aug 2008 14:58:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 5748 invoked by uid 500); 23 Aug 2008 14:58:33 -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 5737 invoked by uid 99); 23 Aug 2008 14:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 07:58:33 -0700 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; Sat, 23 Aug 2008 14:57:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42C18234C1B1 for ; Sat, 23 Aug 2008 07:57:44 -0700 (PDT) Message-ID: <638416241.1219503464272.JavaMail.jira@brutus> Date: Sat, 23 Aug 2008 07:57:44 -0700 (PDT) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-1234) cn=schema is not returned if no ManageDsaIT control is present in the request. In-Reply-To: <1476403446.1219503224540.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-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625073#action_12625073 ] Stefan Seelmann commented on DIRSERVER-1234: -------------------------------------------- What would be the best solution for this? I have two ideas: 1st: Modify the SearchHandler, that it doesn't add (objectClass=referral) when searching cn=schema 2nd: Modify the SchemaInterceptor to handle (|(objectClass=subschema)(objectClass=referral)) I already have a patch with the 1st solution, it works fine. However I would ask what would be the better way or if there another solution. > cn=schema is not returned if no ManageDsaIT control is present in the request. > ------------------------------------------------------------------------------ > > Key: DIRSERVER-1234 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1234 > Project: Directory ApacheDS > Issue Type: Bug > Components: core > Affects Versions: 1.5.4 > Reporter: Stefan Seelmann > Assignee: Stefan Seelmann > Fix For: 1.5.4 > > > When requesting the schema cn=schema and no ManageDsaIT control is present in the request, the server does not return the schema entry. > The reason is that the SearchHandler adds an OR'd filter (objectClass=referral) to the user's filter, however in the SchemaInterceptor this enhanced filter (|(objectClass=subschema)(objectClass=referral)) isn't handled. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.