We are using ldap to get user information from the domain controller. It was working before. Recently I found the application is hanging at ldap_connect. It doesn't return any message.
here is the simple connection.
define ("LDAP_SERVER","ldap://server.company.net");
define ("LDAP_PORT",389);
function getUser($fullname, $pswd)
{
$ld=ldap_connect(LDAP_SERVER,LDAP_PORT);
ladap connection problem
Moderator: General Moderators
Re: ladap connection problem
Thanks for the update. Did you have a question?
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.