lists.arthurdejong.org
RSS feed

Re: Fwd: CentOS 7 : ldap authentication failed

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: Fwd: CentOS 7 : ldap authentication failed



On Mon, 2015-01-26 at 20:30 +0100, Frédéric Marchal wrote:
> Until the password is checked, everything is ok. The problem comes
> after :
>         nslcd: [3c9869] <authc="username"> DEBUG:
>         myldap_search(base="uid=username,ou=people,dc=companyname,dc=com", 
> filter="(objectClass=*)")
> 
> Why nslcd adds 'uid=username' to the ldap base ?

nslcd performs a search after the BIND operation because some LDAP
servers do not seem to return correct errors on the BIND operation
alone.

This also came up recently:
http://lists.arthurdejong.org/nss-pam-ldapd-users/2014/msg00169.html

So it may be a good idea to have an option for this (probably with the
added value of "trust-bind", an empty string or similar). Patches
welcome ;)

Thanks,


-- 
-- arthur - arthur@arthurdejong.org - http://arthurdejong.org/ --
-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/