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

Re: cannot login using ldap user credential

On Fri, 2012-04-20 at 08:46 +0200, stefano malini wrote:
> 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?

Could you include the output of nslcd when doing
  getent passwd zingalo
Also, does ldapsearch find the user?

-- arthur - arthur@arthurdejong.org - http://arthurdejong.org --

Attachment: signature.asc
Description: This is a digitally signed message part