mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
uldap_simple_bind was subsequently rewritten to use the op_timeout with ldap_result()
which is portable, which means LDAPTimeout is used for bind & search regardless of this LDAP options availability. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1496177 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2669,14 +2669,6 @@ static const char *util_ldap_set_op_timeout(cmd_parms *cmd,
|
|||||||
"ldap connection: Setting op timeout to %ld seconds.",
|
"ldap connection: Setting op timeout to %ld seconds.",
|
||||||
timeout);
|
timeout);
|
||||||
|
|
||||||
#ifndef LDAP_OPT_TIMEOUT
|
|
||||||
|
|
||||||
ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, cmd->server, APLOGNO(01314)
|
|
||||||
"LDAP: LDAP_OPT_TIMEOUT option not supported by the "
|
|
||||||
"LDAP library in use. Using LDAPTimeout value as search "
|
|
||||||
"timeout only." );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user