Hi Graham,
I am using the Net LDAP module and am having a problem when an ldap server is not responding. The connection seems ok, it comes back, but the server was having problems, and subsequently my client was binding succesfully. The bind is attempted and it never comes back from it - ie it sits on the bind call indefinitely. Any ideas on this ? I reproduced this when the servers were back up by changing ldaps to ldap - which resulted in a connection but no bind. Any suggestions would be appreciated. Thanks.

       my $ldap = Net::LDAP->new ( "ldaps://someserver.net",
               port => 636,
               version => 3,
               debug=>"Y",
               timeout=>5 );
       if ($ldap) {
         $mesg = $ldap->bind ( $user, password=>$pwd );
.....


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 8/15/2005



Reply via email to