-
Notifications
You must be signed in to change notification settings - Fork 23
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
Possible to only sync specified LDAP groups? #34
Comments
A different question i have is, is it possible to use this script with nested groups? |
If you just need to filter groups based on their name you could do this already by updating the LDIF query in the groupFilter setting. This should satisfy the example you provided: Your directory back end would do the filtering. If your directory is quite large you may want to enable indexing to speed this up if it isn't on already.) For your nested group query you probably want this: #17 |
thank you first of all! The groupfilter is going way better and filtering only on the groups i need cleaned the config file up alot! It seems that @hvanscherpenzeel has implemented nested groups. I will try to fork his and make a docker container to test it out on my end. I assume the following groupFilter would work for nesting? |
(mentioned the wrong person) (and if i may be so rude to ask, would you consider sending a PR whenever to Adambean's repo?) |
i'll close this issue as adjusting the search function to only search for specific groups works! |
Hello!
Thank you for writing this program, it’s a real life saver!
I do have one feature request;question.
Is it possible to specify which groups only can be synced? The structure I work with basically means I have to exclude every single group as we have lots in the same OU folder.
Smth like:
AllowedGroups: XYZ-GitLab-*
Which will only sync all groups that start with XYZ-GitLab-
I do hope it’s possible to add this functionality, I also worked out the Dockerfile more and will create a PR soon, once I’m happy with the whole setup.
I may want to include a update-ca-certificates so that SSL works between LDAP and GitLab.
The text was updated successfully, but these errors were encountered: