]> granicus.if.org Git - apache/commitdiff
Move the initialization of rebind to the post_config handler so that it is done durin...
authorBradley Nicholes <bnicholes@apache.org>
Wed, 9 Apr 2008 22:49:31 +0000 (22:49 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 9 Apr 2008 22:49:31 +0000 (22:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@646582 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 5d41aa6f5ae568e3ef4a90162d7944d2ce5b0cf5..72170d8caaccaf867a413bc45163da120cc80bd2 100644 (file)
@@ -2405,9 +2405,6 @@ static void *util_ldap_create_config(apr_pool_t *p, server_rec *s)
     st->connectionTimeout = 10;
     st->verify_svr_cert = 1;
 
-    /* Initialize the rebind callback's cross reference list. */
-    apr_ldap_rebind_init (p);
-
     return st;
 }
 
@@ -2615,6 +2612,9 @@ static int util_ldap_post_config(apr_pool_t *p, apr_pool_t *plog,
                      result_err ? result_err->reason : "");
     }
 
+    /* Initialize the rebind callback's cross reference list. */
+    apr_ldap_rebind_init (p);
+
     return(OK);
 }