On Mon, 5 Sep 2011 23:07:41 +0100, zongo saiba wrote:
> Guys,
>
> I think I have to resign myself to ask the question. After a couple
> of
> days on the internet and buying the a book on SQUID i still can't
> make
> the auth_param work. Accept my apologies if this is really a dum
> question
> I am trying to use proxy_auth. I am using SQUID Proxy 3.1.12 on a
> slackware box running 13.37.
> SQUID is running like a charme but I can't get NCSA to work. SQUID
> was
> compiled with NCSA. Here is my config
>
> acl auth_users proxy_auth REQUIRED
> http_access allow auth_users
> *************************************************************
> auth_param basic program /etc/squid/ncsa_auth /etc/squid/passwd - For
> this line, I did try to move the ncsa from /usr/libexec to /etc/squid
> but I did try PATH /usr/libexec/ncsa_auth as well which yielded the
> same error
> ***********************************************************
> auth_param basic children 5
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 4 hours
> auth_param basic casesensitive off
> Step 3 : run the command-line
>
> every single time I get the error:
> Can't use proxy auth because no authentication schemes are fully
> configured.
>
The auth_param lines load and register the authentication libraries.
That must be done above the first ACL line which uses auth.
Also, for NCSA please use 3.1.15 or later and make sure to use MD5
storage ("htpasswd -m") for the passwords.
Amos
Received on Mon Sep 05 2011 - 22:45:58 MDT
This archive was generated by hypermail 2.2.0 : Tue Sep 06 2011 - 12:00:02 MDT