Adding a variable to Free Radius

Fajar A. Nugraha list at fajar.net
Mon Aug 4 05:51:06 CEST 2014


On Mon, Aug 4, 2014 at 6:11 AM, Nick Cameo <symack at gmail.com> wrote:
> Hello Everyone,
>
> I would like to add a custom variable to get stored in our Free Radius DB.
> We have a functioning environment, and would like to know the suggested
> way of adding a new variable to the long list.

You mean add new column to radius tables (e.g. radacct)? Have you read
the default queries?
This is the default one for mysql on v2.x.x:
https://github.com/FreeRADIUS/freeradius-server/blob/v2.x.x/raddb/sql/mysql/dialup.conf

Adding a new column requires that you alter the table definition on
the db, and adjust the queries used by FR.

-- 
Fajar


More information about the Freeradius-Users mailing list