]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_ldap: Fix regression in handling "server unavailable" errors on
authorRainer Jung <rjung@apache.org>
Tue, 12 Feb 2013 12:07:32 +0000 (12:07 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 12 Feb 2013 12:07:32 +0000 (12:07 +0000)
Windows. Followup to r1375696.

PR 54140.

Backport of r1408402 from trunk resp. r1409773 from 2.4.x.

Submitted by: covener
Reviewed by: wrowe, rjung
Backported by: covener

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

CHANGES
STATUS
include/util_ldap.h

diff --git a/CHANGES b/CHANGES
index 234cbed62c8394052e023249b2dc84df7747bc50..67d1cfbe939180280132b3aef651ca408bce10be 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,9 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.2.24
 
+  *) mod_ldap: Fix regression in handling "server unavailable" errors on
+     Windows.  PR 54140.  [Eric Covener]
+
   *) mod_ssl: fix a regression with the string rendering of the "UID" RDN
      introduced in 2.2.15. PR 54510. [Kaspar Brand]
      
diff --git a/STATUS b/STATUS
index ac811503be9f6b8234975d2f2eed33fc889428e2..bbff2ab8a764d4d58f2b01594a359dac883c68ea 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -101,13 +101,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
      2.2.x documentation patch : http://apache-doc-fr.gryzor.com/fallbackresource_disabled_2.2_doc.patch
      +1: gryzor, wrowe, rjung
 
-   * mod_ldap: restore LDAP_UNAVAILABLE for windows SDK (PR 54140)
-     trunk patch: http://svn.apache.org/viewvc?rev=1408402&view=rev
-     2.4.x patch: http://svn.apache.org/viewvc?rev=1409773&view=rev
-     2.2.x patch: http://people.apache.org/~covener/patches/httpd-2.2.x-ldap_unavailable.diff 
-                 (just context conflicts)
-     +1: covener, wrowe, rjung
-
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index fba0e59f1edbb384bd132928d28479d0ccb20461..49de93eee1b6ecbc227babdbdc4d8f264cf26a70 100644 (file)
@@ -30,7 +30,7 @@
 #include "apr_time.h"
 #include "apr_ldap.h"
 
-#ifdef LDAP_UNAVAILABLE
+#if defined(LDAP_UNAVAILABLE) || APR_HAS_MICROSOFT_LDAPSDK
 #define AP_LDAP_IS_SERVER_DOWN(s)                ((s) == LDAP_SERVER_DOWN \
                 ||(s) == LDAP_UNAVAILABLE)
 #else