Re: [SQU] Getting authentication to work.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 17 Jan 2001 09:44:00 +0100

If nothing happens (not even another login box) then you most likely
have forgotten to turn of stdout buffering in your helper and your
answer stays there when run non-interactively, never reaching Squid.

In perl:

  $|=1;

In C:

  setvbuf(stdout, NULL);

--
Henrik Nordstrom
Squid hacker
Jai Lamerton wrote:
> 
> Hi all...
> 
> I have just wrote me an authenticator program to return OK or ERR.
> 
> My squid.conf has:
> acl password proxy_auth REQUIRED
> acl rubios src 203.2.38.8/255.255.255.255 # My client
> 
> http_access allow rubios password
> http_access deny all
> 
> authenticate_program /usr/local/inst/squid/auth/auth
> 
> I get asked for a username and passwd but nothing happens on the web
> client.
> 
> In the access.log I get:
> 979707671.060      2 203.2.38.8 TCP_DENIED/407 1417 GET
> http://www.linknet.com.au/ - NONE/- -
> 
> Any ideas???
> 
> Jai Lamerton.
> 
> --
> To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Jan 17 2001 - 02:06:40 MST

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