[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: cannot login using ldap user credential

yes, i configured common-* files in pam.d.
please take a look of nslcd debug trying the login using user "zingalo" that is registered in the ldap server:

nslcd: [3c9869] DEBUG: connection from pid=3209 uid=0 gid=0
nslcd: [3c9869] DEBUG: nslcd_pam_authc("zingalo","","login","***")
nslcd: [3c9869] DEBUG: myldap_search(base="dc=amahoro,dc=bi", filter="(&(objectClass=posixAccount)(uid=zingalo))")
nslcd: [3c9869] DEBUG: ldap_initialize(ldap://
nslcd: [3c9869] DEBUG: ldap_set_rebind_proc()
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)
nslcd: [3c9869] DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)
nslcd: [3c9869] DEBUG: ldap_simple_bind_s("uid=nslcd_proc,ou=Users,dc=amahoro,dc=bi","***") (uri="ldap://";)
nslcd: [3c9869] DEBUG: ldap_result(): end of results
nslcd: [3c9869] "zingalo": user not found

what could i check again?

On 04/19/2012 05:26 PM, anax wrote:
Did you configure pam-ldap?


On 04/19/2012 11:56 AM, stefano malini wrote:
I installed and configured an ldap server on debian squeeze and i've a
problem trying the login using ldap user credential. nslcd debug shows
"user not found". using getent passwd i can see every user and also ldap
users but i don't understand why i can't login. Could you help me please?