LDAP Active Directory Auth Failing
Trying to configure LDAP with Active Directory - I've tried a plethora of settings, none which return any LDAP results upon running the rake check - that is until I tried my current settings. It seems like it's retrieving data, but something is going wrong upon the return of the data. Can anyone point me in the right direction? Of note, I once had this working (months ago, of course I can't find those settings now), but we had to rebuild this server. Details below:
$ sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
(in /home/git/gitlab)
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 2.0.1 ? ... OK (2.0.1)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/mnt/repositories_data/gitlab/: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.4.10
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP users with access to your GitLab server (only showing the first 100 results)
Server: ldapmain
rake aborted!
Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:9
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ber/ber_parser.rb:157:in `getbyte'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ber/ber_parser.rb:157:in `read_ber'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ldap.rb:1283:in `bind_simple'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ldap.rb:1254:in `bind'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ldap.rb:579:in `open'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/net-ldap-0.7.0/lib/net/ldap.rb:510:in `open'
/home/git/gitlab/lib/gitlab/ldap/adapter.rb:7:in `open'
/home/git/gitlab/lib/tasks/gitlab/check.rake:683:in `block in print_users'
/home/git/gitlab/lib/tasks/gitlab/check.rake:681:in `each'
/home/git/gitlab/lib/tasks/gitlab/check.rake:681:in `print_users'
/home/git/gitlab/lib/tasks/gitlab/check.rake:668:in `block (3 levels) in <top (required)>'
Tasks: TOP => gitlab:check => gitlab:ldap:check
(See full trace by running task with --trace)