Skip to content
  • Drew Blessing's avatar
    Modify `LDAP::Person` to return username value based on attributes · 7d1fdcdc
    Drew Blessing authored
    `Gitlab::LDAP::Person` did not respect the LDAP attributes username
    configuration and would simply return the uid value. There are
    cases where users would like to specify a different username field
    to allow more friendly GitLab usernames. For example, it's common
    in AD to have sAMAccountName be an employee ID like `A12345` while
    the local part of the email address is more human-friendly.
    7d1fdcdc