The documentation of the LDAP authentication falsely suggests a mapping to the uid
Problem to solve
At https://docs.gitlab.com/ee/administration/auth/ldap/index.html the setup of an LDAP login is described. It suggests that uid can be mapped from several ldap-attributes.
Further details
Description of uid
:
Should be the attribute, not the value that maps to the uid.
and example of username
:
['uid', 'userid', 'sAMAccountName']
Proposal
The documentation should show that the login process only works with one attribute at a time. It is not possible to configure that users can log in via e.g. sAMAccountName
or mail
at the same time.