Skip to content
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

Feature: Allow matching group RDN (Relative Distinguished Name) in group_dns opt #115

Merged
merged 12 commits into from
Oct 24, 2024

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Oct 22, 2024

Adds support for RDN matching of group names. For example:

[auth]
mode = standalone
backend = ldap
backend_kwargs = {
                   ...
                   "group_dns": [
                     "CN=st2users", # matches "CN=st2users,ou=groups,dc=example,dc=com",
                     "CN=st2developers" # matches "CN=st2developers,ou=groups,dc=example,dc=com"
                   ],
                 }

Closes #104

Depends on #116

@cognifloyd cognifloyd self-assigned this Oct 22, 2024
@cognifloyd cognifloyd force-pushed the group-partial-match branch 7 times, most recently from 28f560f to 348876d Compare October 22, 2024 21:35
@cognifloyd cognifloyd force-pushed the group-partial-match branch 2 times, most recently from 7b5bbce to ba762e3 Compare October 23, 2024 20:13
@cognifloyd cognifloyd changed the title Group partial match Feature: Allow matching group RDN (Relative Distinguished Name) in group_dns opt Oct 24, 2024
@cognifloyd cognifloyd requested a review from a team October 24, 2024 13:53
@cognifloyd cognifloyd marked this pull request as ready for review October 24, 2024 13:53
@cognifloyd cognifloyd merged commit 65882e1 into master Oct 24, 2024
7 checks passed
@cognifloyd cognifloyd deleted the group-partial-match branch October 24, 2024 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Allow partial group name matches
2 participants