[squid-users] Various problems with external basic authentication

From: Fernando Schapachnik <fernando@dont-contact.us>
Date: Wed, 23 Apr 2003 12:57:04 -0300

I have 3 different kind of users, how are entitled to different permissions:

acl user_type1 proxy_auth "list1.lst"
acl user_type2 proxy_auth "list2.lst"
acl user_type3 proxy_auth "list3.lst"

# Check password.
http_access deny !user_type1 !user_type2 !user_type3

http_access allow user_type1 rule...
...

http_access allow user_type2 rule...
...

http_access allow user_type3 rule...

If the user gives a bad password, the cache log fills with this loop:

2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| authBasicDecodeAuth: last attempt to authenticate this user
failed, resetting auth state to unchecked
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| User not authenticated or credentials need rechecking.
2003/04/23 12:07:01| authBasicDecodeAuth: last attempt to authenticate this user
failed, resetting auth state to unchecked

Should http_access deny !user_type1 !user_type2 !user_type3 work or am I facing
a bug?

Thanks in advance for any help.

Fernando Schapachnik
Received on Wed Apr 23 2003 - 09:57:16 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:16 MST