Why does getent passwd or group only return local entries when using SSSD in Red Hat Enterprise Linux?

Solution Verified - Updated -

Issue

  • When I run getent passwd or getent group I expected all the accounts to be listed, both local and all those configured in LDAP, but I only get the local entries.
  • getent passwd or group only returns local entries when using SSSD
  • Why is getent passwd or getent group not returning LDAP entries ?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • SSSD configured in /etc/nsswitch.conf as:
shadow:     files sss
group:      files sss
passwd:     files sss

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content