From: wessels <> Date: Thu, 13 Nov 1997 05:49:36 +0000 (+0000) Subject: Henrik: trigger re-read of passwd file if auth fails X-Git-Tag: SQUID_3_0_PRE1~4548 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=30012e7dd5bf7f357d5093ea8d21b828190e305c;p=thirdparty%2Fsquid.git Henrik: trigger re-read of passwd file if auth fails --- diff --git a/src/acl.cc b/src/acl.cc index cead898184..d48d1a62f4 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,6 +1,6 @@ /* - * $Id: acl.cc,v 1.115 1997/11/12 18:58:38 wessels Exp $ + * $Id: acl.cc,v 1.116 1997/11/12 22:49:36 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -1083,6 +1083,7 @@ aclMatchProxyAuth(struct _acl_proxy_auth *p, aclCheck_t * checklist) passwd[0] &= (~0x80); if (strcmp(hashr->item, (char *) crypt(passwd, hashr->item))) { /* Passwords differ, deny access */ + p->last_time = 0; /* Trigger a check of the password file */ debug(28, 4) ("aclMatchProxyAuth: authentication failed: user %s: " "passwords differ\n", sent_user); return 0;