+++ This bug was initially created as a clone of Bug #592411 +++
Description of problem:
getent returns the login shell of the users (puser1 & puser2 in this case) even though the remote LDAP server has no such entry.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make sure there exists no "loginshell" attribute for the users on the ldap server.
2. Configure /etc/nslcd.conf:
# cat /etc/nslcd.conf
3. getent -s ldap passwd. Observe that the loginshell is returned for puser1 and puser2.
/# /usr/bin/ldapsearch -x -h shanksldap.idm.lab.bos.redhat.com -p 389 -D "cn=Directory Manager" -w Secret123 -b "uid=puser1,ou=People,dc=example,dc=com"
# extended LDIF
# base <uid=puser1,ou=People,dc=example,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
# puser1, People, example.com
cn: Posix User1
# getent -s ldap passwd
puser1:*:1001:1001:Posix User1:/export/puser1:/bin/bash <===========
puser2:*:1002:1002:Posix User2:/export/puser2:/bin/bash <===========
Should not return missing attributes.
--- Additional comment from email@example.com on 2010-05-14 18:21:23 EDT ---
nss-pam-ldapd-0.7.5-2.fc13 has been submitted as an update for Fedora 13.
--- Additional comment from firstname.lastname@example.org on 2010-05-15 16:21:13 EDT ---
nss-pam-ldapd-0.7.5-2.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update nss-pam-ldapd'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/nss-pam-ldapd-0.7.5-2.fc13
--- Additional comment from email@example.com on 2010-05-17 00:37:43 EDT ---
Tests were completed successfully using nss-pam-ldapd-0.7.5-2.fc13.
*** Bug 592488 has been marked as a duplicate of this bug. ***
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.