Re: [squid-users] Squid and MySql authentication

From: Delton <delton_at_bnpapel.com.br>
Date: Mon, 20 May 2013 08:54:38 -0300

The problem was --cond 'enabled=1'. Without it worked.

Thanks!

Em 18/05/2013 00:38, Amos Jeffries escreveu:
> On 18/05/2013 6:49 a.m., Delton wrote:
>> Dear guys,
>>
>> I'm testing in MySql authentication via 'basic_db_auth'.
>> I ran the test and it worked:
>>
>> /lib/squid3/basic_db_auth --user squid --password password --md5
>> --cond 'enabled=1' --persis
>> testuser test
>> OK
>>
>> But in the Squid error is returned:
>>
>> 2013/05/17 15:43:17.868 kid1| UserRequest.cc(66) start:
>> auth_user_request '0x8fa6478'
>> 2013/05/17 15:43:17.868 kid1| UserRequest.cc(86) module_start:
>> 'delton:password'
>> 2013/05/17 15:43:17.868 kid1| UserRequest.cc(144) HandleReply: {ERR
>> unknown login}
>>
>> Any idea?
>
> Try --debug on the helper. It is a query lookup failure for some reason.
>
> Amos
>
>
Received on Mon May 20 2013 - 11:55:20 MDT

This archive was generated by hypermail 2.2.0 : Mon May 20 2013 - 12:00:05 MDT