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