RE: [squid-users] Squid authentication

From: Mohammad Meskarian <>
Date: Wed, 4 Feb 2004 10:25:28 -0000

Thanks Henrik
 now my authentication pass properly when the squid working as proxy.
 I tried to use authentication when proxy working as reverse proxy and
in acc mode.
 Again squid advertise for authentication and shows the uname and
password menu
 but it doesn't accept the username and password.
 Username and passwords working properly when we use the squid as proxy
but not in reverse mode.
 Did I miss any thing during compile or in configurations.
 My squid version is 2.5Stable4.

-----Original Message-----
From: Henrik Nordstrom []
Sent: Wednesday, February 04, 2004 9:56 AM
To: Mohammad Meskarian
Subject: Re: [squid-users] Squid authentication

On Wed, 4 Feb 2004, Mohammad Meskarian wrote:

> I have below line in squid.conf
> auth_param basic program /usr/local/squid/libexec/ncsa_auth
> /temp/copyOfShadow

ncsa_auth as shipped with Squid-2.5 and ealier only understands NCSA
password files


It does not use the same format as /etc/shadow.

NCSA style password files are created with the htpasswd command.
on version you may need to use a option to tell htpasswd to use the
hash (newer versions default to Apache style MD5).

If you really really want to authenticate against /etc/shadow then see
PAM helper for Squid. Don't forget to read the manuals.

Received on Wed Feb 04 2004 - 03:26:43 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:01 MST