logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: ldap bind not coming back: msg#00038

Subject: Re: ldap bind not coming back
I have expierienced this kind of hanging, due to wrong UTF-8-encoding of the ldap-protokoll. This results in the situation, that both sides think, the other side should send some bytes.
Try to set the unicode/utf8-bit in perl on  the variables $user and $pwd !

Gert

Bob Earl wrote:

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 );
.....







Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>