RE: [PHP] LDAP confusion
| From: | jblanchard at pocket dot com | Date: | Thu, 02 Mar 2006 21:26:01 +0000 |
| Subject: | RE: [PHP] LDAP confusion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-231368@lists.php.net to get a copy of this message | ||
[snip]
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?
[/snip]
Aha! It may not be me. The LDAP server is Win2003 and has some known
problems when searching LDAP. I haven't located a solution, but if you
are privy to one or two or ten could you let me know?