]> granicus.if.org Git - apache/commitdiff
authz_groupfile/authz_user: don't log at ERROR for AUTHZ_DENIED, since
authorGraham Leggett <minfrin@apache.org>
Sat, 14 Sep 2013 15:15:38 +0000 (15:15 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 14 Sep 2013 15:15:38 +0000 (15:15 +0000)
authz_core is collecting providers results. Subsequently reported in PR55523?

trunk patch: http://svn.apache.org/r1517366

Submitted by: covener
Reviewed by: jim, humbedooh

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

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

diff --git a/CHANGES b/CHANGES
index 137d9656ac28185bbd040c5178c683e351fc2f2e..04b2067ffbb1c49cf74aca9d594fba100efa0d13 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,10 @@
 
 Changes with Apache 2.4.7
 
+  *) 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_ldap: add TRACE5 for LDAP retries. [Eric Covener]
 
   *) mod_ldap: retry on an LDAP timeout during authn. [Eric Covener]
diff --git a/STATUS b/STATUS
index 5bc7c02cfb06f7234cae8cf776bd447b549c06a0..a7138c0f31f53643d387fef355e2bc0c89a312a5 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -126,13 +126,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
     +1: rjung, jim, humbedooh
 
 
-  * authz_groupfile/authz_user: don't log at ERROR for AUTHZ_DENIED, since 
-    authz_core is collecting providers results. Subsequently reported in PR55523?
-    trunk patch: http://svn.apache.org/r1517366
-    2.4.x: trunk works
-    +1: covener, jim, humbedooh
-
-  
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
 
index 934a7d2f14963177e89859215842bf959b03ff6e..c7fd13b6c4db1dc4baabb731ace1b2ab0618348d 100644 (file)
@@ -249,7 +249,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);