[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: cannot login using ldap user credential
- To: anax <anax@ayni.com>, openldap-technical@openldap.org
- Subject: Re: cannot login using ldap user credential
- From: stefano malini <lozingalo@gmail.com>
- Date: Fri, 20 Apr 2012 08:46:04 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=5Vypievdd+YeEr9hF/3ug0IkFap3FVbatAvjL7453q0=; b=qMiFJAScrqVihvvyENDjjh7d7WDOV6py6H97uiZbpx8Gb9jYmlAdilVkzg/t9xI+3O hbSMH4mok4WKgoGbWEvzRylqDAVyarKPtDzBSz6t7mjieVOYovorSO4XqvXh0ODSlHvx nFeG+5giyE+Kp7aVDEBUayrPoRkIz/9EFY0VOo/3or3PyDKglcZj6hAcXsCweIQdMtVy 7l4h7D0wMT+MJGTbrrhbvndWDOMKxf28V+me/Agvkvi+pmaMaR9GxhnYVTu8NLgqtFxM N8Zuug6vdL1HR7jzOWI4d912k7uy15xOT33qV9/B53J4MShQSKKTLSCS2D8jc2DjzQpM gVBA==
- In-reply-to: <4F902E91.208@ayni.com>
- References: <4F8FE14B.5050902@gmail.com> <4F902E91.208@ayni.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16
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://192.168.5.219:389)
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://192.168.5.219:389")
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?
suomi
On 04/19/2012 11:56 AM, stefano malini wrote:
Hi,
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?
Thanks