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

Closed
Open
Created Mar 21, 2013 by Administrator@rootOwner

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#
Assignee
Assign to
Time tracking