GitLab 6.0 LDAP Authentication Problem
Created by: jestillore
I followed the documentation to enable LDAP authentication. Here's my gitlab.yml
ldap:
enabled: true
host: 'servername.ourdomain.com'
base: 'ou=Estudyante,ou=Chiko,dc=ourdomain,dc=com'
port: 389
uid: 'uid'
method: 'plain' # "ssl" or "plain"
bind_dn: 'cn=admin,dc=ourdomain,dc=com'
password: 'p@ssw0rd'
allow_username_or_email_login: true
sudo -H bundle exec rake gitlab:env:info RAILS_ENV=production
command output show
System information
System: Ubuntu
Current User: root
Using RVM: no
Ruby Version: 2.0.0p247
Gem Version: 2.0.3
Bundler Version 1.3.5
Rake Version: 10.1.0
GitLab information
Version: 6.0.0
Revision: 86c9737
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://gitlab.xxxxxxxxx.xxx
HTTP Clone URL: http://gitlab.xxxxxxxxx.xxx/some-project.git
SSH Clone URL: [email protected]:some-project.git
Using LDAP: yes
Using Omniauth: no
GitLab Shell
Version: 1.7.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks
Git: /usr/bin/git
but when I tried to authenticate to GitLab using an LDAP account, it always prompts that the Username and Password is invalid. I tried tcpdump to check that an LDAP request is sent but tcpdump logs nothing which I suspect that my GitLab server is not communicating to my LDAP Server. I'm sure that my LDAP is working for I used same configuration with Redmine and it works.