LDAP confusion
| From: | jblanchard at pocket dot com | Date: | Thu, 02 Mar 2006 20:49:08 +0000 |
| Subject: | LDAP confusion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231366@lists.php.net to get a copy of this message | ||
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, "CN=configuration,DC=onecall,DC=local", "cn=*");
Gives me
Warning: ldap_search(): Search: Operations error in
/srv/www/htdocs/test/ldapTest.php on line 29
The dn is correct, it would seem that the search filter is the issue.
Can someone please enlighten me?