DanElbert / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

vt-ldap: forward slash in RDN value shouldn't be escaped. #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. search for a user (uid=auser)
2. results show rdn attribute-value pair in double quotes
3.

What is the expected output? What do you see instead?
Expected output DN: ID=example/user,ou=people,dc=example,dc=org
Current output: DN: "ID=example/user",ou=people,dc=example,dc=org

What version of the product are you using? On what operating system?
vt-ldap-3.3.2 on debian linux

Please provide any additional information below.

Original issue reported on code.google.com by pdra...@gmail.com on 4 Apr 2011 at 9:15

GoogleCodeExporter commented 8 years ago
DN should be escaped in the fqdn handler.
See http://download.oracle.com/javase/jndi/tutorial/beyond/names/syntax.html

Original comment by dfis...@gmail.com on 4 Apr 2011 at 8:55

GoogleCodeExporter commented 8 years ago
forward slash ('/') is not a special (ldap) character, so there is no need to 
be escaped. The problem arises IMHO from the fact that forward slash is a 
special character in JNDI Composite Name Syntax. It seems that tomcat had the 
same issue https://issues.apache.org/bugzilla/show_bug.cgi?id=32269

Original comment by pdra...@gmail.com on 5 Apr 2011 at 7:22

GoogleCodeExporter commented 8 years ago
Added method for reading composite names in FqdnSearchResultHandler.
See r1877 on vt-ldap-3 branch.

Original comment by dfis...@gmail.com on 5 Apr 2011 at 2:43

GoogleCodeExporter commented 8 years ago
Merged fix into trunk.
See r1879.

Original comment by dfis...@gmail.com on 7 Apr 2011 at 7:13

GoogleCodeExporter commented 8 years ago
Pushed snapshot:
http://vt-middleware.googlecode.com/svn/maven2/edu/vt/middleware/vt-ldap/3.3.3-S
NAPSHOT/

Original comment by dfis...@gmail.com on 7 Apr 2011 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by dfis...@gmail.com on 12 Apr 2011 at 5:44