Re: [squid-users] MySql Authorization [SOLVED]

From: Riccardo Fontana <dogbert@dont-contact.us>
Date: Mon, 26 Jan 2004 08:52:09 +0100

I've solved my problem.

I forgot to verify the ownership of my PERL script.

I set it to the same user defined in cache_effective_user and it started
working.

Thanks tha same to all.

I've received some very good advices.

Many thanks
Riccardo

Henrik Nordstrom wrote:
> On Thu, 22 Jan 2004, Riccardo Fontana wrote:
>
>
>>Tha problem is that I don't know how to make squid pass username checked
>>with wb_auth to this helper.
>
>
> As you do when you are not using this helper. The two are independent.
>
>
>>I've tried the following configuration but it doesn't work. Probably I
>>miss a lot of knowledge in how helpers work.
>>
>>auth_param ntlm program /usr/lib/squid/wb_ntlmauth
>>auth_param ntlm children 5
>>auth_param ntlm max_challenge_reuses 20
>>auth_param ntlm max_challenge_lifetime 15 minutes
>>auth_param basic program /usr/lib/squid/wb_ntlmauth
>>auth_param basic children 5
>>auth_param basic realm Squid proxy-caching web server
>>auth_param basic credentialsttl 2 hours
>>
>>external_acl_type mysql concurrency=5 ttl=900 %LOGIN /usr/bin/sqauthorize
>>
>>acl browsing external mysql
>>
>>http_access allow browsing
>
>
> Looks correct to me.
>
> What happens?
>
> Regards
> Henrik
>
>
Received on Mon Jan 26 2004 - 00:52:25 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:08 MST