This should be /opt/rudder/bin/ldapsearch. We can't rely on this being in the PATH.