From: Nick Kew Date: Wed, 27 Jan 2010 00:53:29 +0000 (+0000) Subject: Backport r902641: change log level of ldap authn failure message. X-Git-Tag: 2.2.15~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6e824e63327395cc9674379c6334ec7aee86c8;p=thirdparty%2Fapache%2Fhttpd.git Backport r902641: change log level of ldap authn failure message. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@903518 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index e44d6494d41..9840e916a56 100644 --- a/CHANGES +++ b/CHANGES @@ -9,6 +9,10 @@ Changes with Apache 2.2.15 access control is still vulnerable, unless using OpenSSL >= 0.9.8l. [Joe Orton, Ruediger Pluem, Hartmut Keil ] + *) mod_authnz_ldap: Failures to map a username to a DN, or to check a user + password now result in an informational level log entry instead of + warning level. [Eric Covener] + *) Preserve Port information over internal redirects PR 35999 [Jonas Ringh ] diff --git a/STATUS b/STATUS index c6d310f571e..5eeee58d1cb 100644 --- a/STATUS +++ b/STATUS @@ -87,11 +87,6 @@ RELEASE SHOWSTOPPERS: PATCHES ACCEPTED TO BACKPORT FROM TRUNK: [ start all new proposals below, under PATCHES PROPOSED. ] - * mod_authnz_ldap: log authn failures at INFO instead of WARN - Trunk Patch: http://svn.apache.org/viewvc?rev=902641&view=rev - 2.2.x Patch: trunk patch works - +1: covener, sf, fuankg - PATCHES PROPOSED TO BACKPORT FROM TRUNK: [ New proposals should be added at the end of the list ] diff --git a/modules/aaa/mod_authnz_ldap.c b/modules/aaa/mod_authnz_ldap.c index 9b61022a1d8..03925b7e8b4 100644 --- a/modules/aaa/mod_authnz_ldap.c +++ b/modules/aaa/mod_authnz_ldap.c @@ -409,7 +409,7 @@ start_over: /* handle bind failure */ if (result != LDAP_SUCCESS) { - ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, "[%" APR_PID_T_FMT "] auth_ldap authenticate: " "user %s authentication failed; URI %s [%s][%s]", getpid(), user, r->uri, ldc->reason, ldap_err2string(result));