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

Closed
Open
Created Dec 20, 2012 by Administrator@rootOwner

Ldap base set to null instead of config

Created by: gehasia

Hi,

when i try an ldap authentication it always answer 'invalid credentials'

i checked my ldap log and here what's happening :

[20/Dec/2012:18:44:36 +0100] conn=10447 fd=65 slot=65 connection from 10.1.0.10 to 10.1.0.12 [20/Dec/2012:18:44:36 +0100] conn=10447 op=0 BIND dn="MyBindDN" method=128 version=3 [20/Dec/2012:18:44:36 +0100] conn=10447 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="MyBindDN" [20/Dec/2012:18:44:36 +0100] conn=10447 op=1 SRCH base="(null)" scope=0 filter="(objectClass=*)", failed to decode LDAP controls [20/Dec/2012:18:44:36 +0100] conn=10447 op=1 RESULT err=2 tag=101 nentries=0 etime=0 [20/Dec/2012:18:44:36 +0100] conn=10447 op=2 SRCH base="(null)" scope=2 filter="(uid=guillaume.chanaud)", failed to decode LDAP controls [20/Dec/2012:18:44:36 +0100] conn=10447 op=2 RESULT err=2 tag=101 nent

as you can see, the base is set to null conn=10447 op=2 SRCH base="(null)" scope=2 filter="(uid=guillaume.chanaud)", failed to decode LDAP controls

my gitlab.yml is 👍

ldap:
  enabled: true
  host: 'myldapserver'
  base: 'dc=connecting-nature,dc=com'
  port: 389
  uid: 'uid'
  method: 'plain' # "ssl" or "plain"
  bind_dn: 'MyBindDN'
  password: 'mypassword'

so the base var is correctly setup. Don't know where to search for debugging this.

thanks, Guillaume

Assignee
Assign to
Time tracking