ldap
configuration
Configured
/etc/ldap/ldap.conf
:BASE dc=serverX,dc=lan
URI ldap://serverX.lan
TLS_CACERT /etc/ssl/certs/ca-certificates.crt
Configured
/etc/gitlab/gitlab.rb
:gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-eos 389="" active_directory:="" allow_username_or_email_login:="" attributes:="" base:="" bind_dn:="" block_auto_created_users:="" cn="" code="" email:="" email="" encryption:="" false="" first_name:="" givenname="" host:="" itlab="" label:="" last_name:="" ldap="" mail="" method:="" name:="" or="" ou="users,dc=serverX,dc=lan" password:="" plain="" port:="" samaccountname="" sn="" ssl="" tls="" true="" uid:="" uid="" user_filter:="" userid="" username:="" userprincipalname="" xxxx="">-eos>
Output of
gitlab-rake gitlab:ldap:check
is OK :# gitlab-rake gitlab:ldap:check Checking LDAP ... LDAP: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) Checking LDAP ... Finished
Check your /etc/gitlab/gitlab.rb
gitlab_rails['ldap_servers'] = YAML.load <<-eos 389="" active_directory:="" allow_username_or_email_login:="" base:="" bind_dn:="" block_auto_created_users:="" cn="admin,ou=users,dc=serverX,dc=lan" code="" encryption:="" false="" host:="" itlab="" label:="" ldap="" ou="users,dc=serverX,dc=lan" password:="" plain="" port:="" uid:="" uid="" xxxx="">-eos>