using SQL, where is Session-Timeout updated?

Ivan Kalik tnt at kalik.net
Fri Sep 18 19:47:05 CEST 2009


> 09/18/2009 05:41 PM, Ivan Kalik::
>>> sqlcounter dailycounter
>>>     {
>>>       counter-name = Daily-Session-Time
>>>       check-name = Max-Daily-Session
>>>       reply-name = Session-Timeout
>>>       sqlmod-inst = sql
>>>       key = User-Name
>>>       reset = daily
>>>       query = "SELECT SUM(AcctSessionTime - \
>>>                GREATER((%b - AcctStartTime::ABSTIME::INT4), ..."
>>>     }
>>> What is wrong?
>>> freeradius does not start because " "SQL Counter" modules
>>> aren't allowed in 'accounting' sections".
>>> It is told to put it in 'accounting'...
>> No, you weren't told to put it there. Read again my message about where
>> are you supposed to list it.
>
> from stock radiusd.conf, arround line #1488:
>          #  [...]
>          #  The module should be added in the instantiate, authorize and
>          #  accounting sections.  [...]

That's instruction for counter, not sqlcounter module. That's not the same
thing.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list