Hi,
We are testing out gitlab-ce v8 Omnibus

We have successfully integrated it to our openldap-server so ldap-users can 
login.
Now we're trying to limit user logins to a specific ldap-group but cannot 
get it to work yet.
According to http://docs.gitlab.com/ce/administration/auth/ldap.html it 
seems possible within the "user_filter", or at least with an AD setup 
anyway?

I can list the members (memberUid) with and ldapsearch:

ldapsearch -H ldap://my-ldap-server -x -b "dc=mydomain,dc=tld" 
"(&(objectClass=posixGroup)(cn=my-special-group))"

In the ldap-config in file /etc/gitlab/gitlab.rb i put:

user_filter: '(&(objectClass=posixGroup)(cn=my-special-group))'

Then test:
gitlab-ctl reconfigure
gitlab-rake gitlab:ldap:check

The result gives no users

So...
a) I'm I doing it wrong?
b) or is it only possible in EE edition?

Many thanks for your input

Cheers
Tomas



-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/b2af1ff7-d8ae-4190-8c47-fbc35831418c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to