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

Closed
Open
Created Mar 29, 2014 by Administrator@rootOwner

[LDAP] User without uid attribute can not login (after upgrade to 6.7)

Created by: favadi

With gitlab 6.6, we can login without problem with user that does not have a uid attribute. After upgrade to 6.7, only user with uid can login.

Could not authorize you from LDAP because ldap account must provide a dn, uid and email address.

My LDAP section in gitlab.yml:

  ldap:
    enabled: true
    host: "192.168.15.159"
    base: "ou=ad,dc=vc,dc=vn"
    port: 389
    uid: "cn"
    method: "plain" # "ssl" or "plain"
    bind_dn: "cn=anonymous,ou=ad,dc=vc,dc=vn"
    password: "password"
    allow_username_or_email_login: true
    user_filter: ""

I'm not sure if this is a new undocumented requirement or a bug?

Assignee
Assign to
Time tracking