Re: [squid-users] Squid authentication

From: Henrik Nordstrom <>
Date: Wed, 4 Feb 2004 10:55:59 +0100 (CET)

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 style
password files


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

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

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

Received on Wed Feb 04 2004 - 02:56:07 MST

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