Get LDAP users from /etc/passwd in Linux

The getent passwd command can display all of the LDAP users in /etc/passwd:

getent passwd --service ldap