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