Define New Attribute

Alan DeKok aland at deployingradius.com
Wed Dec 5 14:00:37 CET 2012


Alexandre J. Correa (Onda) wrote:
> I need to track some type of 'user group'. i´m doing this to not
> overload my database servers.

  Then you need to upgrade your database.

> into the radgroupreply table i need to 'create' one attribute like:
> 
> Check-Bandwidth := [0,1]
> 
> i added this attribute in groupreply, in my dictionary file and i can
> see this attribute in the 'authorization' section.
> 
> How i can pass it to 'accouting' section ? maybe setting global variable
> for this session ?

  Use a database.  That's what databases are for.

  Maybe the redis module would help.  It's lower overhead than other
databases.

  Alan DeKok.


More information about the Freeradius-Users mailing list