Re: [squid-users] Squid auth

From: <iulian@dont-contact.us>
Date: Fri, 31 Mar 2006 19:14:56 +0300 (EEST)

Ok i have this now:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 1
auth_param basic realm Proxy Server
auth_param basic credentialsttl 1 hour

acl proxy_a proxy_auth a
tcp_outgoing_address 66.147.239.138 proxy_a
http_access allow proxy_a

acl proxy_iulian proxy_auth iulian
tcp_outgoing_address 66.147.238.119 proxy_iulian
http_access allow proxy_iulian

acl proxy_test proxy_auth test
tcp_outgoing_address 66.147.238.199 proxy_test
http_access allow proxy_test

acl proxy_whatever proxy_auth whatever
tcp_outgoing_address 66.147.238.242 proxy_whatever
http_access allow proxy_whatever

http_access deny all

In the browser after authentification i get the following error:

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://www.google.com/

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at
this time. Please contact your service provider if you feel this is
incorrect.

Your cache administrator is root.

> tor 2006-03-30 klockan 17:07 +0300 skrev iulian@hyperactiv.ro:
>
>> Does squid supports multiple schemes of authentification?
>> The problem i encouter is that i am able to auth onyl with group
>> proxy_c (e.g the last acl no matter how do i modify the file)
>
> Ok, whar you are really looking for is groups of users, not multiple
> authentication schemes.
>
> Place all passwords in the same file, and instead define groups with the
> proxy_auth ACL by listing the only the usernames in the acl (just
> usernames, nothing else, no passwords, nothing) which should be member
> of eachgroup. Include files can be used to simplify the group
> management.
>
> Regards
> Henrik
>
Received on Fri Mar 31 2006 - 12:49:44 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:05 MST