Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 9127 invoked from network); 5 May 2009 18:33:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 May 2009 18:33:24 -0000 Received: (qmail 47576 invoked by uid 500); 5 May 2009 18:33:24 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 47503 invoked by uid 500); 5 May 2009 18:33:23 -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 47495 invoked by uid 99); 5 May 2009 18:33:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 May 2009 18:33:23 +0000 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; Tue, 05 May 2009 18:33:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 59144234C003 for ; Tue, 5 May 2009 11:32:30 -0700 (PDT) Message-ID: <1293894895.1241548350350.JavaMail.jira@brutus> Date: Tue, 5 May 2009 11:32:30 -0700 (PDT) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Resolved: (DIRSERVER-1311) Entry with an escaped comma in DN not found in searches with some filters In-Reply-To: <1563384269.1234211339711.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefan Seelmann resolved DIRSERVER-1311. ---------------------------------------- Resolution: Fixed Fix Version/s: (was: 2.0.0-RC1) 1.5.5 Fixed here: http://svn.apache.org/viewvc?rev=771954&view=rev > Entry with an escaped comma in DN not found in searches with some filters > ------------------------------------------------------------------------- > > Key: DIRSERVER-1311 > URL: https://issues.apache.org/jira/browse/DIRSERVER-1311 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.5.4 > Environment: Windows XP > Java(TM) SE Runtime Environment (build 1.6.0_10-b33) > ApacheDS 1.5.4 > Reporter: Stefan Zoerner > Assignee: Stefan Seelmann > Priority: Minor > Fix For: 1.5.5 > > Attachments: tori.ldif > > > I use an out of the box ApacheDS 1.5.4 with server.xml unchanged, context entry for dc=example,dc=com created. > Adding the following entry is successful (LDIF import) > dn: cn=Amos\,Tori,dc=example,dc=com > sn: Amos > objectClass: person > objectClass: top > cn: Tori Amos > If I perform searches, some find it, for instance: > $ ldapsearch -D "uid=admin,ou=system" -w secret -h localhost -p 10389 -b "dc=example,dc=com" -s one "(objectclass=person)" > version: 1 > dn: cn=Amos\,Tori,dc=example,dc=com > objectClass: person > objectClass: top > cn: Tori Amos > cn: Amos\,Tori > sn: Amos > $ > But the following fails (no entry found): > $ ldapsearch -D "uid=admin,ou=system" -w secret -h localhost -p 10389 -b "dc=example,dc=com" -s one "(cn=Amos,Tori)" > $ > According to Open Group's compliance tests, it should return the entry. I have tried to verify this by reading RFC 2253 and RFC 4514, esacping with a bachslash is allowed (I am not 100% certain about the filter ...). > Note that this one here does not return an entry either. > $ ldapsearch -D "uid=admin,ou=system" -w secret -h localhost -p 10389 -b "dc=example,dc=com" -s one "(cn=Amos\,Tori)" > $ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.