Skip to content

Add optional group/ldap-ou check#7

Open
klingtnet wants to merge 4 commits intoapprenda-kismatic:masterfrom
spreadshirt:check-LDAP-groups-DEV-122778
Open

Add optional group/ldap-ou check#7
klingtnet wants to merge 4 commits intoapprenda-kismatic:masterfrom
spreadshirt:check-LDAP-groups-DEV-122778

Conversation

@klingtnet
Copy link
Copy Markdown

This PR adds an optional command line flag --ldap-ou which when specified checks if a user is member of the given group—or in LDAP terms organizational unit (ou).
Authorization fails if a group was specified and the user is not a member.
If no flag was given then the check is ignored.

Andreas Linz added 4 commits September 1, 2017 10:38
This adds the following command line flag `--ldap-group` to set the
group a user is checked against.
Make sure to not specify a organizational unit `ou` in your base DN
because otherwise either user or group searches will not work, at least
if `ou` is set to `people` or `groups`.
Group member check is not tested.
Rename group to the LDAP specific term _Organizational Unit_, or short OU to avoid misinterpretations.
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