openldap, php and "no such object" error msg

From: Date: Thu, 29 Jun 2000 12:45:50 +0000
Subject: openldap, php and "no such object" error msg
Groups: php.general 
Request: Send a blank email to php-general+get-3788@lists.php.net to get a copy of this message
Hi all I'm running openldap and php 4.0 and am getting an error when trying to use the ldap_search function The error message is "No such object" using the ldapsearch client works perfectly ldapsearch -b 'o=wdev,c=AU' 'cn=test' returns an entry. but $ds = ldap_connect("localhost"); ldap_bind($ds); $sr = ldap_search($ds, "o=wdev,c=AU", "cn=test"); returns the error msg "no such object" according to php the connect and bind were successful. anyone got any ideas on what I'm missing here? thanks in advance for any suggestions. Regards Nick

« previous php.general (#3788) next »