]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Henrik: trigger re-read of passwd file if auth fails
authorwessels <>
Thu, 13 Nov 1997 05:49:36 +0000 (05:49 +0000)
committerwessels <>
Thu, 13 Nov 1997 05:49:36 +0000 (05:49 +0000)
src/acl.cc

index cead898184164a7f3f19ec2a78b2da46e6d0da6e..d48d1a62f480c4c09fcdb2f2254a545f6afb3ad2 100644 (file)
@@ -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;