ldapsearch
Exit status is zero if no errors occur. Errors result in a non- zero exit status and a diagnostic message being written to standard error.