Skip to content

WIP: Properly link LDAP users no whether auth hash UID is a UID or DN

Drew Blessing requested to merge dblessing/gitlab-ee:fix_saml_ldap_link into master

Unfortunately, SAML IDs can be an LDAP UID, DN, or something else entirely. UID and DN are most common, though. This adds a fallback scenario so we first try to find a matching LDAP user by UID, then by DN. This will fix a problem for the customer in https://gitlab.zendesk.com/agent/tickets/43298

Need tests

Merge request reports