Re: NCSA auth question

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 Nov 1998 22:43:17 +0100

Ed Lawson wrote:
>
> Am I correct in assuming that the following will allow username authentication under 2.1?

Partially ;-)

> Compile and install squid 2.1 and NCSA auth without changes in the makefile,
> Make a passwd file in /usr/local/squid/etc with htpasswd,

So far so good.

> Add line about auth_program as documented in the config file.

And what did you write on that line?

It should read something like:
authenticate_program /usr/local/squid/bin/ncsa_auth
/usr/local/squid/etc/passwd

> Add the following:

> acl user_passwords proxy_auth /usr/local/squid.etc/passwd

NOT ok. This should read
acl user_passwords proxy_auth REQUIRED

> http_access allow user_passwords

Ok.
 

---
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Nov 17 1998 - 14:52:57 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:08 MST