Hi,
Since my work upgraded their DCs from 2000 to 2003 I've found that a web site I wrote which queries Active Directory via LDAP and PHP has stopped working. Adding in some debugging comments I am now getting the following:
LDAP query test
Locating Active Directory Server
Connecting to an.LDAP.server on port 389...
connect result is Resource id #25
Binding ...
Bind result is 1
Searching for (cn=<*USERNAME*>) ...
<br />
<b>Warning</b>: ldap_search(): Search: Can't contact LDAP server in <b>/foo/bar.php</b> on line <b>63</b><br />
Search result is
Can't contact LDAP server
Now from the above, its finding an LDAP server fine, connecting to it, binding to it but for some reason it can't connect when searching. Any ideas? I can post code snippets if required.
Sorry feel like a newb having to actually ask a computer-related question
editted to hide our server names
Since my work upgraded their DCs from 2000 to 2003 I've found that a web site I wrote which queries Active Directory via LDAP and PHP has stopped working. Adding in some debugging comments I am now getting the following:
LDAP query test
Locating Active Directory Server
Connecting to an.LDAP.server on port 389...
connect result is Resource id #25
Binding ...
Bind result is 1
Searching for (cn=<*USERNAME*>) ...
<br />
<b>Warning</b>: ldap_search(): Search: Can't contact LDAP server in <b>/foo/bar.php</b> on line <b>63</b><br />
Search result is
Can't contact LDAP server
Now from the above, its finding an LDAP server fine, connecting to it, binding to it but for some reason it can't connect when searching. Any ideas? I can post code snippets if required.
Sorry feel like a newb having to actually ask a computer-related question
editted to hide our server names