Re: Need help in integration of pam and ldap using nss-pam-ldapd
[Date Prev][Date Next] [Thread Prev][Thread Next]Re: Need help in integration of pam and ldap using nss-pam-ldapd
- From: "Kedar Sirshikar (ksirshik)" <ksirshik [at] cisco.com>
- To: William MacAllister <whm [at] dropbox.com>
- Cc: "nss-pam-ldapd-users [at] lists.arthurdejong.org" <nss-pam-ldapd-users [at] lists.arthurdejong.org>
- Subject: Re: Need help in integration of pam and ldap using nss-pam-ldapd
- Date: Wed, 24 May 2017 18:29:39 +0000
Hi, Sorry for the inconvenience caused. I updated nslcd.conf to point ‘base’ to ‘ou=system’ and restarted nslcd using ‘nslcd –d’ Please refer below updated user with posixAccount and posixGroup but still PAM is not reaching LDAP. Can you please advise if I am missing anything? [root@AIO-ANDSF ~]# ldapsearch -H ldap://10.24.19.141:10389 -x -D "uid=ldap_pam_uid+uidNumber=22222222,ou=system" -W -b "ou=system" -s one -a always -z 1000 "(objectClass=*)" "hasSubordinates" "objectClass" Enter LDAP Password: # extended LDIF # # LDAPv3 # base <ou=system> with scope oneLevel # filter: (objectClass=*) # requesting: hasSubordinates objectClass # # pam_ldap, system dn: uid=pam_ldap,ou=system objectClass: top objectClass: inetOrgPerson objectClass: person objectClass: organizationalPerson # ldap_pam_uid + 22222222, system dn: uid=ldap_pam_uid+uidNumber=22222222,ou=system objectClass: posixAccount objectClass: top objectClass: posixGroup # configuration, system dn: ou=configuration,ou=system objectClass: top objectClass: organizationalUnit # consumers, system dn: ou=consumers,ou=system objectclass: top objectclass: organizationalUnit # sysPrefRoot, system dn: prefNodeName=sysPrefRoot,ou=system objectClass: top objectClass: organizationalUnit objectClass: extensibleObject # search result search: 2 result: 0 Success # numResponses: 6 # numEntries: 5 [root@AIO-ANDSF ~]# Also, it will be a great help if you point out how to debug logs for PAM.
PAM is expected to communicate to ldap after firing commands like ‘pwauth’ and ‘getent passwd’ but PAM is still referring ‘pam_unix.so’ for ‘auth’ module. Regards, Kedar. From:
William MacAllister <whm@dropbox.com> Don't send me screen shots. How do you know I am not using a screen reader? How do you know that no one on the list is using a screen reader? It is poor netiquette to send any binaries to a distribution list.
The screen shot does not show a valid posixAccount. Where do you expect a UIDnumber to come from if the user's entry doesn't have it? You need to create entries that have the posixAccount object class. I don't do random WebExs. Bill On Wed, May 24, 2017 at 9:47 AM, Kedar Sirshikar (ksirshik) <ksirshik [at] cisco.com> wrote:
-- Bill MacAllister Corp SRE, Dropbox |
-- To unsubscribe send an email to nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see https://lists.arthurdejong.org/nss-pam-ldapd-users/
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, (continued)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
William MacAllister
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
William MacAllister
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, William MacAllister
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd, Arthur de Jong
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
William MacAllister
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
Kedar Sirshikar (ksirshik)
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
William MacAllister
- Re: Need help in integration of pam and ldap using nss-pam-ldapd,
Kedar Sirshikar (ksirshik)
- Prev by Date: Re: Need help in integration of pam and ldap using nss-pam-ldapd
- Next by Date: Re: Need help in integration of pam and ldap using nss-pam-ldapd
- Previous by thread: Re: Need help in integration of pam and ldap using nss-pam-ldapd
- Next by thread: Re: Need help in integration of pam and ldap using nss-pam-ldapd