default attribute/group for res_mysql

Fajar A. Nugraha list at fajar.net
Sun Jan 29 23:28:02 CET 2012


2012/1/30 Oğuzhan Kayhan <oguzhank at bilkent.edu.tr>:
> 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 users.

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.

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

-- 
Fajar




More information about the Freeradius-Users mailing list