Re: [squid-users] MySQL based auth

From: Hegedus, Ervin <airween@dont-contact.us>
Date: Wed, 7 May 2003 12:02:27 +0200

Hello,

> the directive is ok now, but i still can't access the outside, there is no
> popup window for input user & passwd, but squid said "ACCESS DENIED", below
> is my squid syntax
>
> acl all src 0.0.0.0/0.0.0.0
> auth_param basic program /usr/lib/squid/bin/mysql_auth
> auth_param basic realm Squid proxy-caching web server
> auth_param basic children 5
> auth_param basic credentialsttl 2 hours
> acl password proxy_auth REQUIRED
> http_access allow password
> http_access deny all

sorry for the question: are you sure, there are just _these_
options in config file? and in this order?

if you don't have pop-up window, mean there is a 'http_access'
option with any value before 'http_access allow password'

what do you get, when you try to use mysql_auth from command line?
for example:

shell# /path/to/mysql_auth
user password
OK|ERR

and what is in your syslog after you try to do this?

does squid starts without problem and error messages?
(cache.log)

air
Received on Wed May 07 2003 - 04:03:00 MDT

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