Can't login to gitlab-ci nor clone/pull from http because of an ldap error.
Created by: Eijebong
Hi,
I just updated to the master branch to test new features and the ldap authentification is broken. I can't log from gitlab-Ci nor can I pull by http but surprisingly, I can login to gitlab...
NameError (undefined local variable or method `model' for Gitlab::LDAP::User:Class):
/home/git/gitlab/lib/gitlab/ldap/user.rb:47:in `find_by_uid'
/home/git/gitlab/lib/gitlab/ldap/user.rb:24:in `authenticate'
/home/git/gitlab/lib/gitlab/auth.rb:10:in `find'
/home/git/gitlab/lib/api/session.rb:15:in `block in <class:Session>'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/grape-0.6.1/lib/grape/endpoint.rb:31:in `call'
/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/grape-0.6.1/lib/grape/endpoint.rb:31:in `block in generate_api_method'
[snip]
With sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
everithing seems ok.