You are getting problem because of using -m option ( Force MD5 encryption of 
the password.).
NCSA authentication will return ERR to correct username and passwd.

Test:
-----


# htpasswd -mc /tmp/passwd test
New passwd: test
Retrype passwd: test

# libexec/ncsa_auth /tmp/passwd
test test
ERR
test ok
ERR

Solution:
---------

Use only -c option to create passwd database.

# htpasswd -c /tmp/passwd user1
<..snip>

>
> htpasswd -mc passwd user1
>

Check the changes on command line, before deploying in squid.conf file as,
# libexec/ncsa_auth <passwd file>
<username> <passwd>
OK
<wrong username> <passwd>
ERR

Best Wishes
Visolve Squid Development Team.
======================================================================================================
URL: http://squid.visolve.com/
mail : [EMAIL PROTECTED]
======================================================================================================





---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.797 / Virus Database: 541 - Release Date: 11/15/2004 


Reply via email to