https://bugs.openldap.org/show_bug.cgi?id=9829
--- Comment #2 from David Coutadeur david.coutadeur@gmail.com ---
Hi Ondrej,
I had no precise idea for the implementation, but in a first time we could just define a global "remoteauth_connect_timeout" parameter in the configuration, and when defined, it would run a:
ldap_set_option( ld, LDAP_OPT_NETWORK_TIMEOUT, &timeout );
Setting a connect timeout per remote server seems a little overkill I think.
Regards