Fw: [squid-users] external acl not work

From: Dmitriy Sirant <lex@dont-contact.us>
Date: Mon, 21 Jul 2003 12:02:41 +0300

In addition for my last message, when i look throw cachemgr.cgi, i see, that
squid send requests to squid_auth_sql, but (as he mind) do not recive
replies. But when i run my squid_auth_sql by hand, i can input ip and when i
hit return i recive OK or ERR and carriage return.

> 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 ?
>
Received on Mon Jul 21 2003 - 03:02:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:13 MST