Using DB instead of radutmp for simultaneous-use tracking

Fajar A. Nugraha list at fajar.net
Tue Oct 4 11:52:49 CEST 2011


On Tue, Oct 4, 2011 at 4:47 PM, Det Det <det.explorer at yahoo.com> wrote:
> 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?

That's tricky.

The easiest thing I can think of is to add a check using unlang in
authorize (use "%{sql:" expansion to get the data), and if it exceeds
the limit set Auth-Type := Reject

-- 
Fajar



More information about the Freeradius-Users mailing list