On Fri, 19 Mar 2004, Niall O Broin wrote:

> I'm trying to use password authentication with 2.5 on a Debian unstable box. 
> Squid itself is working fine, and I've used password authentication on 2.4 
> successfully so I do have an idea of the mechanism. I don't have any very 
> sophisticated requirements, and in fact my needs should be met by the samples 
> in the sample config file. At the moment, in my config file for password 
> authentication I just have these 6 lines different from my regular config:
> 
> 
> auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid.passwd

Is this the correct path to ncsa_auth on your system?

Usually ncsa_auth is in /usr/local/squid/libexec/ncsa_auth or 
/usr/libexec/squid/ncsa_auth

> The first 4 lines above are simply obtained by uncommenting the lines from the 
> sample config (the first line also had to be completed) - the last two are 
> quite simple. If I include the lines above in my squid.conf, no clients can 
> connect to squid. Telnetting to the port simply gets connection refused.

Your Squid is not running / has terminated due to servere problems. Check
cache.log why.

Regards
Henrik

Reply via email to