I made a simple one, to always return OK, I called null_auth.sh, but there's a little problem: when I kill -15 squid, it cannot kill my authenticators.
Does squid send some caracter, or string to it to make it die ?


Here is the code:
------------
#/bin/ksh

while true
do
   read usuario
   echo OK
done
------------
Thanks...


Henrik Nordstrom wrote:


On Tue, 4 Nov 2003, Alex Carlos Braga Ant�o wrote:



When can I find some docs about how to do an Authenticator ?



The authenticator interface is documented in the auth_param documentation in squid.conf.default, and also referenced in the FAQ.


The exact details varies with the authentication scheme used (basic / NTLM / Digest), but I assume you are planning on writing a authenticator for the basic authentication sheme:

from "auth_param basic program" documentation:

       Such a  program reads a line containing "username password" and replies
       "OK" or "ERR" in an endless loop.

this is really all there is to it..

Regards
Henrik







Reply via email to