simultaneous use

Alan DeKok aland at deployingradius.com
Mon Jan 2 22:26:08 CET 2017


On Jan 2, 2017, at 2:25 PM, Bill Schoolfield <bill at billmax.com> wrote:
> 
> I have a client that wanted his customers limited to a single connection. So I implemented:
> 
> mysql> select * from radgroupcheck;
> +----+--------------------+------------------+----+-------+
> | id | groupname          | attribute        | op | value |
> +----+--------------------+------------------+----+-------+
> |  1 | Package2MB         | Simultaneous-Use | := | 1 |
> 
> After some time and 100's of subscribers he now wants on a case by case (ie user) basis to allow multiple simultaneous sessions.
> 
> I thought I just add Simultaneous-Use to radcheck for those users and use the "appropriate" operators.

  That should work.  If the NAS is sending accounting packets.

> I can't seem to get this to work. I'm trying to avoid dropping the use of radgroupcheck and adding the Simultaneous-Use radcheck attribute to all users.

  WHat's going wrong?

> Is this possible? What operators do I use? I used '=' in radgroupcheck and that succeeded in allowing the radcheck item to "override" the radgroupcheck item but the check fails if no radcheck item exists (as will be the case in many instances).

  Use ":=" for the operator.

  Alan DeKok.




More information about the Freeradius-Users mailing list