You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2007/01/05 11:51:27 UTC

[jira] Resolved: (DIRSERVER-756) Problem with escaped comma in DN

     [ https://issues.apache.org/jira/browse/DIRSERVER-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIRSERVER-756.
-----------------------------------------

    Resolution: Fixed

I think it has been fixed a long time ago. There is a test which check that the returned parsed DN is correct :

...
       LdapDN name = new LdapDN( "cn=Bush\\, Kate,dc=example,dc=com" );

       assertEquals( "cn=Bush\\, Kate,dc=example,dc=com", name.toString() );
       assertEquals( "cn=Bush\\, Kate,dc=example,dc=com", name.getUpName() );
...

> Problem with escaped comma in DN
> --------------------------------
>
>                 Key: DIRSERVER-756
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-756
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.0-RC4, pre-1.0
>            Reporter: Endi S. Dewata
>         Assigned To: Emmanuel Lecharny
>
> 1. Add the following entry:
> ldapadd -h localhost -p 10389 -D uid=admin,ou=system -w secret -x
> dn: cn=Dewata\, Endi,ou=Users,ou=system
> objectClass: person
> cn: Dewata, Endi
> sn: Dewata
> 2. Search the entry:
> ldapsearch -h localhost -p 10389 -D uid=admin,ou=system -w secret -x -b "ou=system"
> #
> dn: cn=Dewata, Endi,ou=Users,ou=system
> objectclass: person
> objectclass: top
> sn: Dewata
> cn: Dewata, Endi
> The escape character (\) is missing from the DN, causing it to become invalid.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira