default attribute/group for res_mysql

Oğuzhan Kayhan oguzhank at
Mon Jan 30 00:22:17 CET 2012


-----Original Message-----
From: at
[ at lists.freeradius.or
g] On Behalf Of Fajar A. Nugraha
Sent: Monday, January 30, 2012 12:28 AM
To: FreeRadius users mailing list
Subject: Re: default attribute/group for res_mysql

2012/1/30 Oğuzhan Kayhan <oguzhank at>:
> group , or any way of assigning an attribute to all users by default.
> As i read on previous mails DEFAULT parameter does not work for mysql

You should be able to use files and DEFAULT keyword. See /etc/raddb/users
and "man 5 users". If you use it together with mysql, both mysql and users
file should add the necessary attribute.

Actually, my "files" is enabled with sql on enabled site config.
And i got DEFAULT Group=="test" on users file.
But did not work.

I wil try unlang too.

Or use unlang either in post-auth or authorize section to add attributes.
See "man unlang", look for "update".


List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list