Ouch!
Does the MS LDAP SDK define anything equivalent?
Fixing this on some platforms is better than on none, though.
-- Jess Holle
Mladen Turk wrote:
Brad Nicholes wrote:
I have already added a new directive to util_ldap called LDAPConnectionTimeout ( http://httpd.apache.org/docs-2.1/mod/mod_ldap.html#ldapconnectiontimeout ) which allows util_ldap to set the network timeout through
rc = apr_ldap_set_option(p, NULL, LDAP_OPT_NETWORK_TIMEOUT, (void *)&timeOut, &(result_err));
IMO this does not exists on WIN32 (at least PSDK does not declare that), thus mod_ldap breaks on build.
The code should be enclosed inside: #if defined(LDAP_OPT_NETWORK_TIMEOUT) .... #endif
Regards, Mladen
