-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use case-insensitive search for user lookup by external_auth_id
Almost all of the typical values of ldap['login_attribute'] are case insensitive according to the LDAP schema. However, we previously used a case-sensitive lookup when trying to find an existing user record. This commit changes the default lookup to be case insensitive but provides a user-controllable override for the rare case where users are setting a case-sensitive login_attribute. ChangeLog-Entry: Fix bug where logins via LDAP failed because of case sensitivity.
- Loading branch information
1 parent
e3fa72d
commit 331fb26
Showing
4 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters