From: William A. Rowe Jr Date: Wed, 11 Dec 2002 06:11:11 +0000 (+0000) Subject: The only code change required for Win32 ldap to build... these are X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b26be11ce611d7f7c9e93852ab5f8f22e4062f1;p=apache The only code change required for Win32 ldap to build... these are all abstracted in apr_ldap_uri.h ... which is grabbed by apr_ldap.h. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97839 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_auth_ldap.c b/modules/experimental/mod_auth_ldap.c index 8f26f7015a..2fdcf6ad0a 100644 --- a/modules/experimental/mod_auth_ldap.c +++ b/modules/experimental/mod_auth_ldap.c @@ -642,7 +642,7 @@ static const char *mod_auth_ldap_parse_url(cmd_parms *cmd, const char *url) { int result; - LDAPURLDesc *urld; + apr_ldap_url_desc_t *urld; mod_auth_ldap_config_t *sec = config; @@ -650,7 +650,7 @@ static const char *mod_auth_ldap_parse_url(cmd_parms *cmd, cmd->server, "[%d] auth_ldap url parse: `%s'", getpid(), url); - result = ldap_url_parse(url, &(urld)); + result = apr_ldap_url_parse(url, &(urld)); if (result != LDAP_SUCCESS) { switch (result) { case LDAP_URL_ERR_NOTLDAP: @@ -755,7 +755,7 @@ static const char *mod_auth_ldap_parse_url(cmd_parms *cmd, } sec->have_ldap_url = 1; - ldap_free_urldesc(urld); + apr_ldap_free_urldesc(urld); return NULL; }