Pushing a policy for usergroup and calling station id from Free Radius Server

Fajar A. Nugraha list at fajar.net
Sun Sep 30 13:05:10 CEST 2012


On Sun, Sep 30, 2012 at 4:53 PM, Subhani sk m <subhani19.cool at gmail.com> wrote:
> Hi,
>
>  I am using free radius on Linux, Fedora 13. I am able to push policy for a
> user.. I need help on two scenarios given below.
>
> 1.how to push policy for a specific usergroup from free radius sever
>

Depends on what you mean by "push policy". If it's just "return some
radius attribute"), then if you use database, simply put it on
radgroupreply table. See the included documentation, or
http://wiki.freeradius.org/modules/Rlm_sql

> 2. how to push a policy for a specific Calling-Station-ID like
> 00:16:6F:A2:XX:XX [ no user specific policy returned]

Short version? Use unlang (http://freeradius.org/radiusd/man/unlang.html)

-- 
Fajar


More information about the Freeradius-Users mailing list