> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Friday, September 11, 2009 6:05 PM
> To: Xu, Qiang (FXSGSC)
> Cc: [email protected]
> Subject: Re: timeout on ldap_simple_bind_s()
> 
> it should not block in this case at all. i have no idea whats 
> going on there but you might wanna try troubleshooting it 
> further by initiating say a telnet session from the same 
> client host where you run your app to the server host on the 
> same port and see how that goes. if it does not fail quickly 
> i suspect you have some sort of network problem there.

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
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to