Re: [squid-users] squid mysql authentication

From: Diego Woitasen <diegows_at_xtech.com.ar>
Date: Tue, 2 Mar 2010 16:56:51 -0300

2010/3/2 Taco Walstra <tacowalstra_at_gmail.com>:
>
> Hi,
> I'm trying to get mysql authentication working, but I'm stuck. Any help
> is very welcome.
> I use squid 3.0 from an opensuse 11.1 distro. It's running on 3128
> standard port and I redirect with iptables all requests to squid.
> Squid.conf contains a http_port 3128 transparent line and everything
                                                                     ^^^^^^^^^^

Transparent? Proxy auth. is not compatible with transparent mode.
Remove transparent and try authentication again.

> works in the standard way: Requests from a different computer are passed
> to the standard webpage if acl localnet src 192.168.2.0/24 is used and
> when changed to something else access is denied.
> So far so good.
> Now I added:
> auth_param basic program /usr/sbin/squid_db_auth --user bla --password
> bla --plaintext --persist
> with additional lines as described on the website, but I only get access
> denied as reply.
> When using the squid_db_auth perl script on a commandline it works fine
> with the mysql database: (using "testuser test" gets a OK)
> How does this work? I would suspect some login popup, or do I need to
> supply credentials as argument somehow?
>
>
>
>
>

-- 
Diego Woitasen
XTECH
Received on Tue Mar 02 2010 - 19:56:58 MST

This archive was generated by hypermail 2.2.0 : Wed Mar 03 2010 - 12:00:02 MST