Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2957

LDAP login module cannot handle slashes in CN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1, 2.3.5
    • 2.4.0, 3.0.2, 2.3.6, 4.0.0.M3
    • None
    • None

    Description

      If we have a user with all the LDAP special characters added like:

      cn=admin\,\=\+\<\>\#\;\\

      The SearchResult contains 2 different results:

       
      SearchResult.getName = cn=admin\,\=\+\<\>\#\;\\\\
      SearchResult.getNameInNamespace = cn=admin\,\=\+\<\>#\;\\,ou=people,dc=example,dc=com
      

      ... the second escapes the slashes correctly so we should use that.

      Attachments

        Activity

          People

            janstey Jonathan Anstey
            janstey Jonathan Anstey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: