]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* include/util_ldap.h: Treat LDAP_UNAVAILABLE as a transient error
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 21 Aug 2012 17:48:58 +0000 (17:48 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 21 Aug 2012 17:48:58 +0000 (17:48 +0000)
     with non-MS LDAP SDKs; seen with OpenLDAP against Novell eDirectory.

Backports: r1348036
Submitted by: Filip Valder <filip.valder vsb.cz> (via RH bugzilla)
Reviewed by: rjung, fuankg, wrowe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1375696 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
include/util_ldap.h

diff --git a/CHANGES b/CHANGES
index 97a5dab618d5ac004b111ebd20cc9011be166328..a970684a746307f88d6e80fa67efc5e6bb850e90 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,9 @@ Changes with Apache 2.2.23
      possible XSS for a site where untrusted users can upload files to
      a location with MultiViews enabled. [Niels Heinen <heinenn google.com>]
 
+  *) mod_ldap: Treat the "server unavailable" condition as a transient
+     error with all LDAP SDKs. [Filip Valder <filip.valder vsb.cz>]
+
   *) core: Add filesystem paths to access denied / access failed messages.
      [Eric Covener]
 
diff --git a/STATUS b/STATUS
index 32f53972da82e1760ac4cf42e27e37cfcd0f66b4..6df3bef33fa7e32e4258bdb95fc87e7c35299db4 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -99,14 +99,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.2.x patch: http://people.apache.org/~rjung/patches/htdbm-htpasswd-handling_crypt_failure-2_2.patch
      +1: rjung, trawick, wrowe
 
-   * include/util_ldap.h: Treat LDAP_UNAVAILABLE as a transient error
-     with non-MS LDAP SDKs; seen with OpenLDAP against Novell eDirectory.
-     Submitted by: Filip Valder <filip.valder vsb.cz> (via RH bugzilla)
-     trunk patch: http://svn.apache.org/viewvc?view=revision&revision=1348036
-     2.4.x patch: http://svn.apache.org/viewvc?view=revision&revision=1362056
-     2.2.x patch: http://people.apache.org/~rjung/patches/treat_ldap_unavailable_transient-2_2.patch
-     +1: rjung, fuankg, wrowe
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index 75a9d70a5c07ee7f035d34ab7cb193784d30c3eb..fba0e59f1edbb384bd132928d28479d0ccb20461 100644 (file)
@@ -30,7 +30,7 @@
 #include "apr_time.h"
 #include "apr_ldap.h"
 
-#if APR_HAS_MICROSOFT_LDAPSDK
+#ifdef LDAP_UNAVAILABLE
 #define AP_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN \
                 ||(s) == LDAP_UNAVAILABLE)
 #else