]> granicus.if.org Git - apache/commitdiff
In 2.4.10, AuthLDAPBindDN might not be used for some LDAP searches, causing
authorEric Covener <covener@apache.org>
Sat, 26 Jul 2014 16:59:50 +0000 (16:59 +0000)
committerEric Covener <covener@apache.org>
Sat, 26 Jul 2014 16:59:50 +0000 (16:59 +0000)
LDAP authz failures if AuthLDAPBindDN was able to search through more of
LDAP than web users.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1613682 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 38c9b86493af3df92772b70967dc0a2ac4bb8472..38569b5b13cc8f98216346e5dee88cc5439871ac 100644 (file)
@@ -1825,7 +1825,7 @@ start_over:
          * combination, which might be reused unintentionally next time this
          * connection is used from the connection pool.
          */
-        ldc->must_rebind = 0;
+        ldc->must_rebind = 1;
         ap_log_rerror(APLOG_MARK, APLOG_TRACE5, 0, r, "LDC %pp used for authn, must be rebound", ldc);
     }