URL:
https://github.com/SSSD/sssd/pull/644
Title: #644: When multiple UIDs exist, use the username provided by the user as the first
lookup
joeFischetti commented:
"""
I appreciate the response.
Since a global can't be used, a better way to do it would be to pass the login
username to the lookup function so it can be compared. The part of the code where we
"throw our hands up" just makes me feel like there's a better way to handle
it.
Your suggestion is to modify an ldap schema for 100k users, or change the way we've
been implenting logins for Linux servers since we started using Linux. That's a hard
ask if the alternative is 'make the tool work correctly'. In my opinion (in as
little as it's worth), the value that the user enters in the login field should be the
value used as their login.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/644#issuecomment-418852635