How many characters is the encrypted password fields in your password
file? Should be 13 characters each.

If you find that the password column contains longer fields and $ and
other strange characters then you forgot to tell htpasswd to use the
crypt() algorithm when hashing the password.

Regards
Henrik


Lukas Fof wrote:
> 
> Hi there,
> 
> I have configured squid 2.5 to prompt for the name and password.
> But after 3 logons i get the error "connection refused".
> 
> I have created a passwd file with htpasswd and customized the squid.conf as
> follows
> 
> auth_param basic program /usr/local/squid/libexec/ncsa_auth 
>/usr/local/squid/etc/passwd
> auth_param basic children 5
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours
> 
> acl password proxy_auth REQUIRED
> acl all src 0.0.0.0/0.0.0.0
> 
> http_access allow password
> http_access deny all
> 
> Does anybody know how where i made a mistake?
> 
> Lukas

Reply via email to