I'm running `bundle exec rake gitlab:ldap:check RAILS_ENV=production` to
check LDAP users after configuring GitLab.
This configuration works:
ldap:
enabled: true
host: 'example.com'
base: 'OU=Users,DC=example,DC=com'
port: 636
uid: 'sAMAccountName'
method: 'ssl' # "ssl" or "plain"
bind_dn: <removed>
password: <removed>
allow_username_or_email_login: true
This configuration does not work:
ldap:
enabled: true
host: 'example.com'
base: 'CN=GIT Users,OU=Users,DC=example,DC=com'
port: 636
uid: 'sAMAccountName'
method: 'ssl' # "ssl" or "plain"
bind_dn: <removed>
password: <removed>
allow_username_or_email_login: true
Why does LDAP authorization work for OUs and not CNs? The CN is an
"objectClass: group".
Thanks.
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.