macOS / binaries /

ldapsearch

/usr/bin/ldapsearch
LDAP search tool

ldapsearch is a shell-accessible interface to the ldap_search_ext library call. ldapsearch opens a connection to an LDAP server, binds, and performs a search using specified parameters.

source: man