squid ncsa authentication doesn't authenticates
Hi all,
I have configured squid and its up and running.Problem is each time users try to put in their username&password pair for authentication,they are denied access to the cache.I configured squid.conf with the following params auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/etc/passwd acl auth proxy_auth REQUIRED http_access allow auth and I created and used htpasswd to put in users in /usr/etc subdirectory which i created with owner root and group squid. I also get the following reports from access.log 985706399.967 2 192.168.35.11 TCP_DENIED/407 1362 Get and this WARNING: authenticator #1 (FD 6) exited WARNING: authenticator #2 (FD 7) exited Does anyone know what the problem may be? |
What command did you use to create the passwd file? Its contents should be username:passwordhash. For example:
Code:
cat passwd |
I used 2htpaswd.
here is the the entry in my passwd file #cat passwd tomslin:WAtNVI57lXhfk any ideas? |
Sorry for the basic question, but does /usr/local/squid/libexec/ncsa_auth exist and is it executable?
|
It ok.
Yeah it exists and i guess its executable coz i used rpm -ql squid | grep ncsa to chech if its there before including it in squid.conf. |
All times are GMT -5. The time now is 05:29 AM. |