Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23983

PLAIN authentication is truncating the user

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • None
    • ALL
    • Security 15 (06/03/16), Security 16 (06/24/16)

      The plain authentication mechanism is truncating the username if the string contains the character "@".

      It seems to be caused by the UserName class used during the Sasl PLAIN conversation.

      This is avoiding the user to authenticate using the mail field in LDAP directories.

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            ricardo.lorenzo Ricardo Lorenzo
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: