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@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/