> smb_auth is a script that tests a username and password somehow, then
> returns OKAY or FAILED (something like that)
YES or ERR to be exact.

> All you have to do is write a program that does the same - take
> username/password pairs as presented by squid, test it somehow and
> return Yea or Naye to squid.
Yes. A very nice theory but not so easy in practice.
My programs work fine if I use them in a console but as soon as I give it to 
squid, all hell breaks loose.
I suspect it is something to do with the method squid sends/recieves the 
information from sdtin/stdout.
I have also read that I need to flush STDOUT after every return.
a) is this true?
b) what does it mean?
c) how do I do it?

Regards,

Daniel

Reply via email to