-
Notifications
You must be signed in to change notification settings - Fork 13
ldapGroups is not iterable #1
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
Comments
you need a least one group starting with gitlab-ldap-group-sync/gitlabLdapGroupSync.js Line 147 in 9df6d13
Please create following groups on your 389-DS |
Ah thanks, that's a helpful line point. :) I don't really want to be creating extra groups just for Gitlab as our team of 40ish people are already in appropriate groups. (I'll just edit the script to accept any group.) |
hi, |
I'm not sure if this is the cause. I modified that Just out of curiosity, there is a config option to specify the group prefix, is there any reason why it isn't being used in this function instead of a hard-coded prefix? (I noticed the config object isn't available to this function, so it may take quite a bit of re-writing to make that so.) |
I've got this script so that it's able to talk to our internal Gitlab-CE, but it gives error "ldapGroups" is not iterable.
Configuration is as follows:
The LDAP server is running 389-DS, so the groups are at base DN
ou=Groups,dc=internal,dc=example,dc=com
. I didn't see that I could specify that option though. Not sure whygroupPrefix
is there, but the groups in LDAP don't have a specific prefix -- all should be synced.The text was updated successfully, but these errors were encountered: