macOS / binaries /

ldapcompare

/usr/bin/ldapcompare
LDAP compare tool

ldapcompare is a shell-accessible interface to the ldap_compare_ext library call. ldapcompare opens a connection to an LDAP server, binds, and performs a compare using specified parameters.

source: man