Thank you very much, that worked. Upgraded to 2.5 stable 10 and used
htpasswd, works like a charm. Can anyone recommend a good SquidNT user
monitoring tool? (How long a user is online, where they have been, that kind
of stuff.)
Thanks again
-----Original Message-----
From: Serassio Guido [mailto:guido.serassio@acmeconsulting.it]
Sent: Monday, June 13, 2005 12:42 PM
To: Shortridge, Mark; (squid-users@squid-cache.org)
Subject: Re: [squid-users] ncsa_auth problem
Hi,
At 17.01 13/06/2005, Shortridge, Mark wrote:
>I have SquidNT (squid/2.5.STABLE3-NT-CVS) installed on a Windows 2003
>server. It works fine with no authentication.
You are lucky: STABLE3 is very old, and there are some bugs that can make
this Squid build crash on Windows 2003. Please upgrade to STABLE9 or the
latest STABLE10.
>I want to use the
>ncsa_auth.exe authentication helper that came with squid, but have not been
>successful. I can see in the cache.log that squid starts the ncsa_auth
>helper, I'm not sure if I am writing the password file correctly.
>
>
>For the password file, I have a file called password.txt, and I have a
>username and a password separated by a colon: username:password. Is this
>correct?
> test:test
> shortma1:5t43tv
No, you must create the passwd file with htpasswd or similar.
You can find a Window build of NCSA tools in the Squid for Windows download
page.
http://www.acmeconsulting.it/SquidNT.html
>Conf.cmd
>
>echo auth_param basic program D:/Squid/libexec/ncsa_auth.exe
>D:/Squid/pwd/password.txt >> %CONFFILE%
Correct.
You can run ncsa_auth.exe from Windows command line and check if works.
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Mon Jun 13 2005 - 15:07:26 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT