Lo all,
Simple question I think... It's more than likely a error with a 3 line bash
script... But ja
err,
I have squid.conf:
auth_param basic program /usr/local/libexec/squid/auth.pl
auth_param basic children 15
auth_param basic realm Private Proxy
authenticate_ttl 3600 seconds
authenticate_ip_ttl 86400 seconds
then...
auth.pl is really simple:
echo $1 $2 > /usr/local/libexec/squid/auth.log
echo OK
This work... Any username / password gets authenticated and are allowed
access though the proxy. However, according to auth.log, $1 and $2 is
empty...
How / What does squid give to the script? Because according to the web
sites, it should be the username and the password, but I don't seem to get
any variables...
Yes, I know this is EXTREMELY basic... The idea is that I would have a
custom auth handler to authenticate users via a database of some sort.
Thanks for the help,
-- meReceived on Fri Jun 18 2004 - 06:51:33 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT