[
https://issues.apache.org/jira/browse/KARAF-2957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Anstey resolved KARAF-2957.
------------------------------------
Resolution: Fixed
master commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/703c62f9
also merged to 3.0.x, 2.x, 2.3.x
> LDAP login module cannot handle slashes in CN
> ---------------------------------------------
>
> Key: KARAF-2957
> URL: https://issues.apache.org/jira/browse/KARAF-2957
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 3.0.1, 2.3.5
> Reporter: Jonathan Anstey
> Assignee: Jonathan Anstey
> Fix For: 2.4.0, 4.0.0, 3.0.2, 2.3.6
>
>
> If we have a user with all the LDAP special characters added like:
> {code}cn=admin\,\=\+\<\>\#\;\\{code}
> The SearchResult contains 2 different results:
> {code}
> SearchResult.getName = cn=admin\,\=\+\<\>\#\;\\\\
> SearchResult.getNameInNamespace =
> cn=admin\,\=\+\<\>#\;\\,ou=people,dc=example,dc=com
> {code}
> ... the second escapes the slashes correctly so we should use that.
--
This message was sent by Atlassian JIRA
(v6.2#6252)