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, 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