Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 42749 invoked from network); 4 Aug 2006 21:08:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2006 21:08:53 -0000 Received: (qmail 56936 invoked by uid 500); 4 Aug 2006 21:08:53 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 56889 invoked by uid 500); 4 Aug 2006 21:08:52 -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 56878 invoked by uid 99); 4 Aug 2006 21:08:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 14:08:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 14:08:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A86CF410023 for ; Fri, 4 Aug 2006 21:06:15 +0000 (GMT) Message-ID: <20672350.1154725575687.JavaMail.jira@brutus> Date: Fri, 4 Aug 2006 14:06:15 -0700 (PDT) From: "Stefan Zoerner (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSERVER-696) Adding entries with RDNs enclosed in quotes may lead to entries with illegal DNs In-Reply-To: <15864686.1154719395410.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-696?page=comments#action_12425857 ] Stefan Zoerner commented on DIRSERVER-696: ------------------------------------------ Here is an addition to the issue. If authorization is enabled before th import, and an ACI is attached to dc=example,dc=com, it is not possible to add the entries at all (this is how I originally found the problem). The authorization subsystem seems to have problems with the illegal DNs, as Softerra LDAP Administrator has after the creation. > Adding entries with RDNs enclosed in quotes may lead to entries with illegal DNs > -------------------------------------------------------------------------------- > > Key: DIRSERVER-696 > URL: http://issues.apache.org/jira/browse/DIRSERVER-696 > Project: Directory ApacheDS > Issue Type: Bug > Affects Versions: 1.0-RC4 > Environment: * ApacheDS 1.0 RC4 SNAPSHOT > * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) > * Windows XP Professional SP2 > Reporter: Stefan Zoerner > Attachments: quotesEntries.ldif > > > Using ApacheDS 1.0 RC4 SNAPSHOT with server.xml unchanged. > If I try to add something like this > dn: ou="Scissors 8<",dc=example,dc=com > ou: "Scissors 8<" > objectclass: organizationalUnit > objectclass: top > an entry is created like that (quotes missing) > dn: ou=Scissors 8<,dc=example,dc=com > ou: Scissors 8< > objectclass: organizationalUnit > objectclass: top > This causes a lot of trouble in some tools I use (LDAP Administrator, for instance). I checked the behaviour of IBM Tivoli Directory Server 6.0 and Sun Java System Directory Server 5.2. They behave different, but both create entries with valid DNs: > Sun: > dn: ou="Scissors 8<",dc=example,dc=com > ou: "Scissors 8<" > ou: Scissors 8< > objectClass: organizationalUnit > objectClass: top > IBM: > dn: ou=Scissors 8\<,dc=example,dc=com > ou: "Scissors 8<" > ou: Scissors 8< > objectclass: organizationalUnit > objectclass: top > I add an LDIF file with this entry and comparable entries, which cause the same error. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira