Skip to content

Fix mapping ldap usernames #1096

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from
Open

Fix mapping ldap usernames #1096

wants to merge 14 commits into from

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant