Re: [squid-users] squidNT and ncsa_auth problem

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 12 Jan 2005 23:14:42 +0100 (CET)

On Wed, 12 Jan 2005, Mr.Vinai Natham wrote:

> C:\squid\libexec>ncsa_auth.exe
> c:\squid\etc\passwd_list
> test badpass
> ERR
> test test
> OK

Good.

> - but with squidNT when I authen user test/test with
> browser It can not
> surf the net
>
> squid.conf
> ...
> auth_param basic program c:/squid/libexec/nt_auth.exe
> C:/squid/etc/passwd_list
> auth_param basic children 5
> auth_param basic realm Test Proxy Server
> auth_param basic credentialsttl 2 hours
> ...

Looks fine.

> so, I set debug option to ALL,9 and found some thing
> wrong ( I think
> loot at last three line)
>
>
> 2005/01/12 15:14:00| commHandleWrite: FD 6: off 0, sz
> 10.
> 2005/01/12 15:14:00| ipc(nt_auth.exe,2148): received
> from parent:
> test%20test%0a
> 2005/01/12 15:14:00| commHandleWrite: write() returns
> 10
> 2005/01/12 15:14:00| ipc(nt_auth.exe,2148): received
> from child : ER

This does indeed look a bit odd. Not the data as such which looks good,
but the fact that it says nt_auth.exe...

make sure you do not have another "auth_param basic program" directive in
your squid.conf overriding your choice to use ncsa_auth...

Regards
Henrik
Received on Wed Jan 12 2005 - 15:14:44 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST