• Drew Blessing's avatar
    Modify `LDAP::Person` to return username value based on attributes · c72e472a
    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.
    c72e472a
person.rb 4.05 KB