ldapsearch question
Why does the command line 'ldapsearch' require a username and password? I can use a PHP 'ldap_search' call with no password. I hate writing scripts that have to have passwords in them to run ldapsearch when there is no need for it. Is there any way around it other then using the commandline PHP call? TIA.