[squid-users] authenticating users using squid

From: Rupes <rupes@dont-contact.us>
Date: Sat, 18 Dec 2004 13:09:43 +0545

Hi,
These are the steps I did

1. Installed squid-2.3.STABLE4.
2. cd squid-2.3.STABLE4/auth_modules/PAM/
        a.make
        b. make install
Now, this will install pam_auth inside /usr/local/squid/bin/
The ownership of pam_auth is root and mode, we tried even with 777.
         Chmod s pam_auth

3.then in squid.conf
a.authenticate_program /usr/local/squid/bin/pam_auth /etc/shadow
             acl lan proxy_auth REQUIRED
  acl all src 0.0.0.0/0.0.0.0
  http_access allow lan
  http_access deny all

When I configured the squid with this for authentication, it asks for
user name and password. But as I provide username and password, I am
not authenticated. The error message I get in log is TCP denied/
Error 407. Pls help.

Rupes
Received on Sat Dec 18 2004 - 00:26:12 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST