Why does getent passwd or group only return local entries when using SSSD in Red Hat Enterprise Linux?
Issue
- When I run
getent passwdorgetent groupI expected all the accounts to be listed, both local and all those configured in LDAP, but I only get the local entries. getentpasswd or group only returns local entries when using SSSD- Why is
getent passwdorgetent groupnot returning LDAP entries ?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- SSSD configured in
/etc/nsswitch.confas:
shadow: files sss
group: files sss
passwd: files sss
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
