sql question

Felipe Ceglia - PY1NB felipe-listas at terenet.com.br
Sat Jun 9 13:50:21 CEST 2007


Hi Ivan,

Thank you very much!
I owe you guys a pack of beer!

Worked finely!
I will now take a breath and go deeply into radius manual to understand 
these operators.

Felipe

tnt at kalik.co.yu wrote:
> OK. Put back:
> 
> DEFAULT Auth-Type = System
>        Fall-Through = 1
> 
> in your users file.
> 
> Post radiusd -X output for SQL user. If he is found in the database but
> still rejected you might need to add Auth-Type Local with op := to your
> radgroupcheck table.
> 
> Ivan Kalik
> Kalik Informatika ISP
> 
> 
> Dana 8/6/2007, "Felipe Ceglia - PY1NB" <felipe-listas at terenet.com.br>
> piše:
> 
>> I just tried it, but then only the sql user is accepted.
>>
>> Thanks,
>>
>> Felipe
>>
>> tnt at kalik.co.yu wrote:
>>> >From radiusd.conf:
>>>
>>> #  In general, you SHOULD NOT set the Auth-Type attribute.  The server
>>> #  will figure it out on its own, and will do the right thing.  The
>>> #  most common side effect of erroneously setting the Auth-Type
>>> #  attribute is that one authentication method will work, but the
>>> #  others will not.
>>>
>>> Remove both Auth-Types and let server sort it out. Make sure sql and unix
>>> entries in radiusd.conf are not commented out.
>>>
>>> Ivan Kalik
>>> Kalik Informatika ISP
>>>
>>> Dana 8/6/2007, "Felipe Ceglia - PY1NB" <felipe-listas at terenet.com.br>
>>> piše:
>>>
>>>> Hi Kevin and Ivan,
>>>>
>>>> Thank you for your replies. I now have it working ok.
>>>>
>>>> I do have a further question:
>>>>
>>>> I need to auth users both from system (unix passwd) and local (sql).
>>>>
>>>> How can I do that?
>>>>
>>>> I tried:
>>>>
>>>> DEFAULT Auth-Type = System
>>>>        Fall-Through = 1
>>>>
>>>> DEFAULT Auth-Type = local
>>>> #        Fall-Through = 1
>>>> #       Exec-Program-Wait =
>>>> "/usr/bin/php/home/ispadmin/latest/src/checkradius.php %u %n" ,
>>>>
>>>> But it only works for the system entry.
>>>>
>>>> Thank you,
>>>>
>>>> Felipe
>>>>
>>>>
>>>> -
>>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/usershtml
>>>>
>>>>
>>> - 
>>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>>
>> - 
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>>
>>
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 



More information about the Freeradius-Users mailing list