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
  • #8973

Closed
Open
Created Mar 19, 2015 by Administrator@rootOwner

Could not authorize you from LDAP, because "undefined method 'provider' for nil:nilclass"

Created by: jayenne01

Logging in via LDAP fails with above message and following log entries, if a user has already signed-up locally with an identical username:

Started GET "/users/sign_in" for 127.0.0.1 at 2015-03-18 16:28:47 +0100 Processing by SessionsController#new as HTML Completed 200 OK in 47ms (Views: 30.8ms | ActiveRecord: 4.5ms) Started POST "//api/v3/internal/allowed" for 127.0.0.1 at 2015-03-18 16:28:49 +0100 Started POST "//api/v3/internal/allowed" for 127.0.0.1 at 2015-03-18 16:28:54 +0100 Started POST "/users/auth/ldap/callback" for 127.0.0.1 at 2015-03-18 16:29:06 +0100 Processing by OmniauthCallbacksController#ldap as HTML Parameters: {"utf8"=>"â", "authenticity_token"=>"+HOLgg=", "username"=>"XXXXX", "password"=>"[FILTERED]"} Completed 500 Internal Server Error in 236ms

Version is 7.7.2

gitlabproblem

Assignee
Assign to
Time tracking