Using DB instead of radutmp for simultaneous-use tracking

Det Det det.explorer at yahoo.com
Tue Oct 4 11:47:50 CEST 2011


Hi,

Thanks a lot! Got it working! I'd like to extend the simul-check to group simul value. That is a group has simul limit, then if limit is reached a user belonging to that group should be denied login. Any idea how to implement this?



Thanks!
Det



________________________________
From: Fajar A. Nugraha <list at fajar.net>
To: Det Det <det.explorer at yahoo.com>; FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Sent: Friday, September 30, 2011 3:11 PM
Subject: Re: Using DB instead of radutmp for simultaneous-use tracking

On Fri, Sep 30, 2011 at 1:50 PM, Det Det <det.explorer at yahoo.com> wrote:
> Hi there,
> In the accounting section, radutmp is used for tracking simultaneous-use. Is
> there a way to use DB::radacct table instead to check for simultaneous-use?

Sure. Comment-out radutmp and uncomment sql from "session" and
"accounting" section.

See also sql/*/dialup.conf, look for "simul_count_query". I usually
enable simul_count_query and comment-out simul_verify_query.

-- 
Fajar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111004/636d04ce/attachment.html>


More information about the Freeradius-Users mailing list