Skip to content

Add support for multiple ou in LDAP#1244

Merged
t-aleksander merged 5 commits intorelease/1.4-alphafrom
multi-ou-support
Jun 18, 2025
Merged

Add support for multiple ou in LDAP#1244
t-aleksander merged 5 commits intorelease/1.4-alphafrom
multi-ou-support

Conversation

@t-aleksander
Copy link
Copy Markdown
Contributor

Previously, LDAP integration was bound only to one OU determined by the user search base, e.g. DN: ou=users,dc=example,dc=com, making it incompatible with users which DN was nested deeper (DN: ou=some_unit,ou=users,dc=example,dc=com). This was because we didn't save the full DN and relied solely on the assumption that all user's DNs match the user search base.

This PR makes Defguard save the real DN of a user and uses it for their identification.

@t-aleksander t-aleksander merged commit 14fefe0 into release/1.4-alpha Jun 18, 2025
@t-aleksander t-aleksander deleted the multi-ou-support branch June 18, 2025 23:36
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.

2 participants