sqlcounter is not kicking users

ziko emobuxuti at yahoo.com
Fri Aug 27 09:10:23 CEST 2010


Hello,  I configured sqlcounter on my radius server and trying to limit hotspot 
users time. But when time expires, Max-All-Session is not kicking users. (but 
when they log out, then they cant log in)  How can i solve this problem?

I am using:
Freeradius 2
CentOS 5.3
Mikrotik as NAS.

My sqlcounter.conf:

sqlcounter noresetcounter {
        counter-name = Max-All-Session-Time 
                check-name = Max-All-Session 
                sqlmod-inst = sql 
                key = User-Name 
                reset = never 
        query = "SELECT IFNULL(SUM(AcctSessionTime),0) FROM radacct WHERE 
UserName='%{%k}'" 


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100827/f49938fc/attachment.html>


More information about the Freeradius-Users mailing list