You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Chetan Sabnis (JIRA)" <ji...@apache.org> on 2007/12/07 17:12:43 UTC
[jira] Created: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Failure to create entry with Rdn starting with hash (#)
-------------------------------------------------------
Key: DIRSERVER-1109
URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.5.1
Environment: Mac OS X 10.4
Reporter: Chetan Sabnis
I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
Here is my test.ldif:
dn: cn=\23moo,dc=example,dc=com
givenName: moo
objectClass: top
objectClass: organizationalperson
objectClass: person
objectClass: inetorgperson
userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
==
uid: #moo
cn: #moo
DisplayName: moo
telephoneNumber: (000) 123-4567
sn: Manager
This is what happens when I do an ldapadd:
ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
ldap_initialize( ldap://localhost:10001 )
add givenName:
moo
add objectClass:
top
organizationalperson
person
inetorgperson
add userPassword:
{SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
add uid:
#moo
add cn:
#moo
add DisplayName:
moo
add telephoneNumber:
(000) 123-4567
add sn:
Manager
adding new entry "cn=\23moo,dc=example,dc=com"
modify complete
ldap_add: Loop detected (54)
additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1109.
------------------------------------------
Resolution: Fixed
See DIRSERVER-1192
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Assignee: Emmanuel Lecharny
> Fix For: 1.5.3
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-1109.
----------------------------------------
closed
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Assignee: Emmanuel Lecharny
> Fix For: 1.5.3
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1109:
-----------------------------------------
Fix Version/s: 1.5.2
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Fix For: 1.5.2
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny reassigned DIRSERVER-1109:
--------------------------------------------
Assignee: Emmanuel Lecharny
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Assignee: Emmanuel Lecharny
> Fix For: 1.5.2
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1109:
-----------------------------------------
Not yet tested, will test it tomorrow.
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Fix For: 1.5.2
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Alex Karasulu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606194#action_12606194 ]
Alex Karasulu commented on DIRSERVER-1109:
------------------------------------------
Can I get a status on this?
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Assignee: Emmanuel Lecharny
> Fix For: 1.5.3
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1109:
-----------------------------------------
Fix Version/s: (was: 1.5.2)
1.5.3
Not tested yet, but may be fixed. Postponed.
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
> Assignee: Emmanuel Lecharny
> Fix For: 1.5.3
>
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1109) Failure to create entry with Rdn
starting with hash (#)
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549474 ]
Emmanuel Lecharny commented on DIRSERVER-1109:
----------------------------------------------
I think it has already been fixed in 1.5.2 (which has not been released yet).
I will check and give you the result asap.
> Failure to create entry with Rdn starting with hash (#)
> -------------------------------------------------------
>
> Key: DIRSERVER-1109
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1109
> Project: Directory ApacheDS
> Issue Type: Bug
> Affects Versions: 1.5.1
> Environment: Mac OS X 10.4
> Reporter: Chetan Sabnis
>
> I have an LDAP entry where the CN attribute starts with a #. If the CN is part of the DN, it cannot be added using the DN escaping rules specified in RFC 2253. Section 2.4 seems to imply that it should be escaped using \23. http://www.faqs.org/rfcs/rfc2253.html
> Here is my test.ldif:
> dn: cn=\23moo,dc=example,dc=com
> givenName: moo
> objectClass: top
> objectClass: organizationalperson
> objectClass: person
> objectClass: inetorgperson
> userPassword:: e1NTSEF9MTUzdTJESnZZSlFJTUIxWklFc2ZXWi9QY2pxMkY1TmduUnhRV3c9PQ
> ==
> uid: #moo
> cn: #moo
> DisplayName: moo
> telephoneNumber: (000) 123-4567
> sn: Manager
> This is what happens when I do an ldapadd:
> ldapadd -v -D "uid=admin,ou=system" -w secret -H ldap://localhost:10001 -x < test.ldif
> ldap_initialize( ldap://localhost:10001 )
> add givenName:
> moo
> add objectClass:
> top
> organizationalperson
> person
> inetorgperson
> add userPassword:
> {SSHA}153u2DJvYJQIMB1ZIEsfWZ/Pcjq2F5NgnRxQWw==
> add uid:
> #moo
> add cn:
> #moo
> add DisplayName:
> moo
> add telephoneNumber:
> (000) 123-4567
> add sn:
> Manager
> adding new entry "cn=\23moo,dc=example,dc=com"
> modify complete
> ldap_add: Loop detected (54)
> additional info: failed to add entry cn=\#moo,dc=example,dc=com: Unexpected exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.