How come all LDAP users are shown with getent passwd?

Solution Unverified - Updated -

Issue

Our RHEL servers are configured to use LDAP (using nslcd). When we type "getent passwd", all users on the entire LDAP Server are shown, instead of only the users that have access to this server. Normally about 10 to 50 people have access to a server, We prefer to list only the users that have permission to access the server are listed with "getent passwd".

Environment

  • Red Hat Enterprise Linux 5/6
  • nss_ldap or nslcd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.