const char *file,
const char *password)
{
+#if APR_HAS_MICROSOFT_LDAPSDK
+ return "certificates cannot be set using this method.";
+#else
util_ldap_config_t *dc = config;
apr_finfo_t finfo;
apr_status_t rv;
}
return(NULL);
+#endif
}
static const char *util_ldap_set_trusted_mode(cmd_parms *cmd, void *dummy,
const char *mode)
{
-#if APR_HAS_MICROSOFT_LDAPSDK
- return "certificates cannot be set using this method.";
-#else
util_ldap_state_t *st =
(util_ldap_state_t *)ap_get_module_config(cmd->server->module_config,
&ldap_module);
st->secure_set = 1;
return(NULL);
-#endif
}
static const char *util_ldap_set_verify_srv_cert(cmd_parms *cmd,