Skip to content

Fix mapping ldap usernames #1096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Apr 17, 2025
Merged

Fix mapping ldap usernames #1096

merged 19 commits into from
Apr 17, 2025

Conversation

t-aleksander
Copy link
Contributor

@t-aleksander t-aleksander commented Apr 11, 2025

Adds the possibility to specify LDAP attribute ("rdn") which will be used for uniquely identifying the user in LDAP. Before this change the user's username attribute (most likely "cn") was always used. If no rdn is specified, the username attribute is used.

This change makes it so the username may be decoupled from the user identifier, which is especially important for AD, since it by default identifies the user by their "cn" which can't be reliably used by Defguard as a username

@t-aleksander t-aleksander merged commit 49c2495 into dev Apr 17, 2025
3 checks passed
@t-aleksander t-aleksander deleted the fix-ldap-usernames branch April 17, 2025 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant