directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norval Hope (JIRA)" <>
Subject [jira] Created: (DIRSERVER-796) LdapDn.toString() doesn't return valid parseable DN string
Date Wed, 13 Dec 2006 03:56:21 GMT
LdapDn.toString() doesn't return valid parseable DN string

                 Key: DIRSERVER-796
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 1.0, 1.5.0
            Reporter: Norval Hope

If you do the following:

    LdapDN  dn = new LdapDN("oU=a\\,comma,O=acme");

then you get the following

    1. dn.toString() = dn.getNormName()        = 'ou=a,comma,o=acme'
    2. dn.getUpName()                                        = 'oU=a\,comma,O=acme'

Due to the value returned in 1. the following results in a parsing exception

   LdapDN  dn = new LdapDN(new LdapDN("oU=a\\,comma,O=acme").getNormName());  

I think the value in 1. should still be a valid parseable DN string instead, namely 'ou=a\,comma,o=acme'

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message