RE: timeout on ldap_simple_bind_s()
"Xu, Qiang (FXSGSC)" <[email protected]> Fri, 11 Sep 2009 18:36:58 +0800
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <D8C9BC7FFCF8154FB7141EB8DB609C172F0C1059AD@SGPAPHQ-EXSCC01.dc01.fujixerox.net> |
> -----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 realize that I am stuck into the same situation as Denish at http://groups.google.com/group/mozilla.dev.tech.ldap/browse_thread/thread/9c1d47b48d440e00/2ec6a0a0e661f6ca: ================================================ Anton, Actually what I tried to mention was that my LDAP Client blocks up on the ldap_simple_bind call. So, when the DS has been stopped, I do not see the LDAP Client coming out / moving ahead of the bind call. So I do not even get to make the ldap_result call when the DS has been stopped. ================================================ It looks exactly the same as my problem... Got stuck, Xu Qiang