sql question

tnt at kalik.co.yu tnt at kalik.co.yu
Sat Jun 9 00:29:50 CEST 2007


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
>
>




More information about the Freeradius-Users mailing list