Xu, Qiang (FXSGSC) wrote:
Just can't explain why ldap_simple_bind() can block such a long time.
ldap_result() is never entered at all. I am thinking that in what condition,
the combination of ldap_simple_bind() and ldap_result(), with a non-NULL
timeout pointer, takes effect.
In my case (the LDAP server is pointed to a windows XP workstation, which is
not an AD), is there any way to unblock the call of ldap_simple_bind()?
Totally lost here,
if you are using NSPR there you should try setting [before init calls]
prldap_set_session_option( NULL, NULL, PRLDAP_OPT_IO_MAX_TIMEOUT, 5000
/* 5s */);
and see if that helps to get it to timeout in about 5 seconds.
otherwise the stack trace is useless, i cant tell anything from it.
_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap