Hi

I have Squid 2.5 STABLE 3.
Configure squid.conf
external_acl_type sql_auth ttl=10 %SRC /usr/bin/tee -a /tmp/1.log
acl sql external sql_auth
http_access allow sql

After reload look into /tmp/1.log and see something like:
192.168.4.33
192.168.3.253
192.168.4.2
192.168.4.11

Ok, now check my program, that i wrote for authorize clients throw my sql
table.
# cat /tmp/1.log | squid_auth_sql > /tmp/2.log
# cat /tmp/2.log
OK
ERR
OK
OK

As i understand, all work fine, but when i change squid.conf to:
external_acl_type sql_auth ttl=10 %SRC /usr/lib/squid/squid_auth_sql
acl sql external sql_auth
http_access allow sql

all clients can't work. i haven't logs in access.log and in cache.log (with
debug ALL,1).

Where is problem ?

Reply via email to