From: wessels <> Date: Fri, 29 Jun 2001 02:16:30 +0000 (+0000) Subject: Bugzilla #114 X-Git-Tag: SQUID_3_0_PRE1~1480 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f702686b40c8823c070824f920cf086d7e7f656c;p=thirdparty%2Fsquid.git Bugzilla #114 The patch for 2.4 is simple, but HEAD has changed a lot and I don't know if the patch is necessary there, or whats the best way to do it. As a cop-out, I added some annoying debug message asking users to report whether or not it works correctly. --- diff --git a/src/acl.cc b/src/acl.cc index 4122933509..3798fa96cb 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.254 2001/06/14 19:10:29 hno Exp $ + * $Id: acl.cc,v 1.255 2001/06/28 20:16:30 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -1326,6 +1326,11 @@ aclMatchProxyAuth(void *data, http_hdr_type headertype, return aclCacheMatchAcl(&auth_user_request->auth_user-> proxy_match_cache, acltype, data, authenticateUserRequestUsername(auth_user_request)); + } else { + debug(28, 1) ("XXX authenticateCheckAuthUserIP returned 0, somebody " + "make sure the username gets logged to access.log.\n"); + debug(28, 1) ("XXX if it works, tell developers to remove this " + "message\n"); } /* this acl check completed */ authenticateAuthUserRequestUnlock(auth_user_request);