]> granicus.if.org Git - apache/commitdiff
Don't log AUTHZ_DENIED failures at ERROR level in authz providers
authorEric Covener <covener@apache.org>
Sun, 25 Aug 2013 19:07:11 +0000 (19:07 +0000)
committerEric Covener <covener@apache.org>
Sun, 25 Aug 2013 19:07:11 +0000 (19:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1517366 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
modules/aaa/mod_authz_groupfile.c
modules/aaa/mod_authz_user.c

diff --git a/CHANGES b/CHANGES
index 27f24d6be0a1913745aa8dc9abd12bae4d8fa411..6244354212ffb2fdf71338077a87919b455a0297 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache 2.5.0
 
+  *) mod_authz_groupfile, mod_authz_user: Reduce severity of AH01671 and AH01663
+     from ERROR to DEBUG, since these modules do not know what mod_authz_core
+     is doing with their AUTHZ_DENIED return value. [Eric Covener]
+
   *) mod_authnz_fcgi: New module to enable FastCGI authorizer
      applications to authenticate and/or authorize clients.
      [Jeff Trawick]
index dab651cbee13c85796ea391c6a8a5c40d56090e9..12510dfc7f18b5648a184cc6032e2ea9e65ebdcb 100644 (file)
@@ -248,7 +248,7 @@ static authz_status filegroup_check_authorization(request_rec *r,
         return AUTHZ_DENIED;
     }
 
-    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01671)
+    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01671)
                   "Authorization of user %s to access %s failed, reason: "
                   "user is not part of the 'require'ed file group.",
                   r->user, r->uri);
index 7c9462c8e329c0a6bd59e9373d63a2426a4a5356..e4af7946a402bc8d2e37d415515faa335bbb177f 100644 (file)
@@ -62,7 +62,7 @@ static authz_status user_check_authorization(request_rec *r,
         }
     }
 
-    ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(01663)
+    ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, APLOGNO(01663)
                   "access to %s failed, reason: user '%s' does not meet "
                   "'require'ments for user to be allowed access",
                   r->uri, r->user);