timeout on ldap_simple_bind_s()
"Xu, Qiang (FXSGSC)" <[email protected]> Fri, 11 Sep 2009 10:44:45 +0800
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <D8C9BC7FFCF8154FB7141EB8DB609C172F0C105170@SGPAPHQ-EXSCC01.dc01.fujixerox.net> |
Hi, all: Recently, I am hit by a timeout issue of ldap_simple_bind_s(). For example, the correct LDAP server is "13.198.97.16". But, when I mis-configured the server to be "13.198.98.16", ldap_simple_bind_s() takes almost 5 minutes to return. That means, it blocks for 5 mins, which is really unacceptable. Is there any timeout option that can be set by ldap_set_option(), before the call of ldap_simple_bind_s()? Looking forward to help, Xu Qiang