]> granicus.if.org Git - apache/commitdiff
The only code change required for Win32 ldap to build... these are
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Dec 2002 06:11:11 +0000 (06:11 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Dec 2002 06:11:11 +0000 (06:11 +0000)
  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

modules/experimental/mod_auth_ldap.c

index 8f26f7015a7a8132bb2763848bd9fc3747e7afc4..2fdcf6ad0ad9d08a664eb9a37c1ddaf818d267d7 100644 (file)
@@ -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;
 }