diff --git a/CHANGES b/CHANGES index a140a47fc8..c5d4919d8a 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,9 @@ Changes with Apache 2.3.7 mod_dav, mod_cache, mod_session: Fix Handling of requests without a path segment. PR: 49246 [Mark Drayton, Jeff Trawick] + *) mod_ldap: Properly check the result returned by apr_ldap_init. PR 46076. + [Stefan Fritsch] + *) mod_rewrite: Log errors if rewrite map files cannot be opened. PR 49639. [Stefan Fritsch] diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 5fa013b11b..95a88be3ed 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -317,6 +317,8 @@ static int uldap_connection_init(request_rec *r, if (result->rc) { ldc->reason = result->reason; + ldc->bound = 0; + return result->rc; } if (NULL == ldc->ldap)