Question About rlm_sql_log (it was Re: Time connected)

Ivan Kalik tnt at kalik.net
Tue Nov 3 16:19:20 CET 2009


>>>>> Sorry for the stupid question, but I'd want to get how many time
>>>>> every
>>>>> user is connected, please could you provide some kind of guideliness?
>>>>> Using Version 2.1.1.
>>>>>
>>>>>
>>>>
>>>> SELECT Count(*) FROM radacct WHERE UserName='some_username'
>>>>
>>>
>>> I guess that you're using database module, aren't you?
>>>
>>>
>>
>> You should too. Much simpler than parsing detail file.
>>

>
> I was reading about rlm_sql_log.

Why? That has nothing to do with anything you would want.

> I mean I don't want to rely on sql
> for authorization and authentication.

So don't. Use it just for accounting.

> Can I use that module only for
> easiest log handling *only* ?

What does that mean?

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list