Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #8039

Closed
Open
Created Oct 14, 2014 by Administrator@rootOwner

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.

Assignee
Assign to
Time tracking