By default the ldapsearch utility is installed on the Domino server in the “bin” directory where all the other utilities are.  You need a local domain admin to bind a domino query on the local server, and you need its credentials. Here is an example: