Gitlab 5.0 Stable Version LDAP Authentication Problem
Created by: halidaltuner
Hi Guys,
I have Gitlab 5.0 stable version. All functionality is ok, but LDAP login function is not working.
Inside gitlab.yml ldap configuration is enabled.
...
## LDAP settings
ldap:
enabled: true
host: 'ldapserver.xxx'
base: 'ou=people,dc=ldapserver,dc=xxx'
port: 389
uid: 'uid'
method: 'plain'
bind_dn: 'uid=git,ou=people,dc=ldapserver,dc=xxx'
password: 'gitpassword'
...
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
Command Output:
System information
System: Ubuntu 11.10
Current User: git
Using RVM: no
Ruby Version: 1.9.3p327
Gem Version: 1.8.23
Bundler Version:1.3.1
Rake Version: 10.0.3
GitLab information
Version: 5.0.0
Revision: f7ca6c5
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://xxxxxxxx
HTTP Clone URL: http://xxxxxxxx/some-project.git
SSH Clone URL: git@xxxxxxxx:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.1.0
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/bin/git
root@git:/home/git/gitlab#