Using rlm_rest for authorization and sqlcounters for session and bandwidth limits

Alan DeKok aland at deployingradius.com
Wed Jun 27 16:31:57 CEST 2018


On Jun 22, 2018, at 1:09 PM, Rohith Asrk <rohith.asrk at gmail.com> wrote:
> 
> Thanks for the quick reply Alan. I've experimented a bit and here are some
> observations I make,
> 
> 1. The authorize section looks like the way I've defined in the previous
> mail. But the rest module before sql and dailybandwidthcounter

  That should be fine.

> 2. I'm able to put limits on users using the radcheck table but not able to
> do that using the radgroupcheck and radgroupusers table.

  What does that mean?

> I basically wish to put limits on groups, and users shall be a part of it.
> So I created a group named test_group with a test_user in it and put limits
> on the test_group with Max-Daily-Session-Traffic attribute.
> 
> It works if I use the radcheck table with the same attribute and values but
> doesn't with the groups.

  See the FAQ for "it doesn't work".

> I'm using the command *radtest test_user test_password localhost 10
> secret_key *to test all this. Is there a different implementation with
> groups or something else I need know?

  If only the server had some kind of debug output where you could see what it's doing...

  Alan DeKok.




More information about the Freeradius-Users mailing list