Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-48

Creates additional users when adding whitespaces to username

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.2.1
    • Fix Version/s: 9.2.3
    • Component/s: Authenticator
    • Labels:
    • Similar issues:

      Description

      When using XWiki with the LDAP Authenticator extension, logging in as "<user>" creates the XWiki user "<user>".

      However when logging in as " <user>" or "<user> " (leading/trailing whitespaces) an additional XWiki user "<user>_1", "<user>_2" etc. is created that maps to the same LDAP DN.

      The user profiles look like this:
      LDAP DN: "uid=<user>,..." (no whitespace)
      LDAP user unique identifier: " <user>" (with whitespace)

      Tested with:

      • XWiki 8.4.4
      • LDAP Authenticator 9.2.1
      • OpenLDAP 2.4.40

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            fge Felix Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: