Re: timeout on ldap_simple_bind_s()

Anton Bobrov <[email protected]> Fri, 11 Sep 2009 12:17:44 +0200
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
is your client running on XP as well ? can you take a stack trace to see 
where it gets stuck [ i dunno how to do it on XP ] ?

Xu, Qiang (FXSGSC) wrote:
> Just did what you say, i.e. run a telnet session to 13.198.98.16. It does not fail quickly, nor does it take as long as 3 min to return. The interval is around 20 seconds.
> 
> But look at the log: 
> =============================================== 
> <distribution> (Fri Sep 11 2009 18:00:25.490) <p28567,t813147760,aba_ldap_interface.c,1394>
>      INFO>> Secure Login
> <distribution> (Fri Sep 11 2009 18:00:25.490) <p28567,t813147760,aba_ldap_interface.c,5884>
>      INFO>> debug ldap_simple_bind_ext_s timeout = 10
> <distribution> (Fri Sep 11 2009 18:00:25.490) <p28567,t813147760,aba_ldap_interface.c,5888>
>      INFO>> debug ldap_simple_bind_ext_s --1
> <distribution> (Fri Sep 11 2009 18:03:35.488) <p28567,t813147760,aba_ldap_interface.c,1405>
>      INFO>> ldap_simple_bind_ext_s return 91
> =============================================== 
> I have no idea why ldap_simple_bind() takes so long as 3 mins to return. And, ldap_result() is not called at all.
> 
> Any further help?
> Xu Qiang