nslcd debug log shows query for passwd=-1
[Date Prev][Date Next] [Thread Prev][Thread Next]nslcd debug log shows query for passwd=-1
- From: Ofelia Liu <oliu [at] purestorage.com>
- To: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nslcd debug log shows query for passwd=-1
- Date: Sun, 25 Mar 2018 21:48:29 -0700
Hi,
I've setup ldap for passwd entry in /etc/nsswitch.conf. (The passwd row is: passwd files ldap). I see the following log when I run nslcd in debug mode:
"nslcd: [8b4567] <passwd=-1> DEBUG: myldap_search(base="DC=XXX,DC=XXX,DC=XXX,DC=XXX", filter="(&(objectClass=posixAccount)(uidNumber=-1))")
"nslcd: [8b4567] <passwd=-1> DEBUG: myldap_search(base="DC=XXX,DC=XXX,DC=XXX,DC=XXX", filter="(&(objectClass=posixAccount)(uidNumber=-1))")
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_initialize(ldaps://XXX)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_rebind_proc()
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_PROTOCOL_VERSION,3)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_DEREF,0)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_TIMELIMIT,0)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_TIMEOUT,0)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_NETWORK_TIMEOUT,0)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_REFERRALS,LDAP_OPT_ON)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_RESTART,LDAP_OPT_ON)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_set_option(LDAP_OPT_X_TLS,LDAP_OPT_X_TLS_HARD)
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_simple_bind_s("XXX","***") (uri="ldaps://XXX")
nslcd: [8b4567] <passwd=-1> DEBUG: ldap_result(): end of results (0 total)"
My question is what does <passwd=-1> mean? It is trying to query ldap server for a user with uid=-1. It seems that it can't find the user with uid=-1 in local /etc/passwd file so it is trying to query ldap. But how can an user ends up with a uid=-1, can I configure nss to not query ldap if uid=-1?
Thanks,
Ofelia
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see https://lists.arthurdejong.org/nss-pam-ldapd-users/
- nslcd debug log shows query for passwd=-1, Ofelia Liu
- Re: nslcd debug log shows query for passwd=-1,
Arthur de Jong
- Re: nslcd debug log shows query for passwd=-1,
Ofelia Liu
- Re: nslcd debug log shows query for passwd=-1, Arthur de Jong
- Re: nslcd debug log shows query for passwd=-1,
Ofelia Liu
- Prev by Date: Re: libnss-ldapd: Stretch Client authenticating to Openldap without hosting user password in local file
- Next by Date: Re: nslcd debug log shows query for passwd=-1
- Previous by thread: Re: libnss-ldapd: Stretch Client authenticating to Openldap without hosting user password in local file
- Next by thread: Re: nslcd debug log shows query for passwd=-1