]> granicus.if.org Git - apache/commitdiff
* include/util_ldap.h: Treat LDAP_UNAVAILABLE as a transient error
authorJoe Orton <jorton@apache.org>
Fri, 8 Jun 2012 12:19:30 +0000 (12:19 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 8 Jun 2012 12:19:30 +0000 (12:19 +0000)
  with non-MS LDAP SDKs; seen with OpenLDAP against Novell eDirectory.

Submitted by: Filip Valder <filip.valder vsb.cz> (via RH bugzilla)

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

CHANGES
include/util_ldap.h

diff --git a/CHANGES b/CHANGES
index a0dde1a9f02c484289794c8ecd465515c02b23ff..f083fdb87b3ddc7918127a775401334f85699a03 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_ldap: Treat the "server unavailable" condition as a transient
+     error with all LDAP SDKs.  [Filip Valder <filip.valder vsb.cz>]
+
   *) mod_ssl: Add support for TLS-SRP (Secure Remote Password key exchange
      for TLS, RFC 5054). PR 51075. [Quinn Slack <sqs cs stanford edu>,
      Christophe Renou, Peter Sylvester]
index fd60ba9bcd414a901a540d13d9548eee523d6e84..3d44ba32bb7908f02a69b67160f5e6f7f333c284 100644 (file)
@@ -45,7 +45,7 @@
 /* this whole thing disappears if LDAP is not enabled */
 #if APR_HAS_LDAP
 
-#if APR_HAS_MICROSOFT_LDAPSDK
+#ifdef LDAP_UNAVAILABLE
 #define AP_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN \
                 ||(s) == LDAP_UNAVAILABLE)
 #else