Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of Fix handling of username_as_alias during LDAP authenticat…
…ion into release/1.10.x (#15557) * backport of commit 1bd9e76 * backport of commit 92be303 * backport of commit ac7c85c * backport of commit ae7e2e9 * backport of commit 04d8cb9 * backport of commit 3a713c1 * backport of commit a741e0d Co-authored-by: Rémi Lapeyre <remi.lapeyre@lenstra.fr> Co-authored-by: Calvin Leung Huang <1883212+calvn@users.noreply.github.com>
- Loading branch information
1 parent
05c3b5a
commit d757183
Showing
5 changed files
with
41 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
```release-note:bug | ||
auth/ldap: The logic for setting the entity alias when `username_as_alias` is set | ||
has been fixed. The previous behavior would make a request to the LDAP server to | ||
get `user_attr` before discarding it and using the username instead. This would | ||
make it impossible for a user to connect if this attribute was missing or had | ||
multiple values, even though it would not be used anyway. This has been fixed | ||
and the username is now used without making superfluous LDAP searches. | ||
``` |
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