Customization of RADIUS reply

Alan DeKok aland at deployingradius.com
Tue Sep 18 10:07:02 CEST 2012


Václav Pernica wrote:
> It works now, I just changed the number to lower value.

  NO.  Don't do that.  All of the attribute numbers are allocated, and
have pre-existing meanings.  Re-using a number is WRONG.  It can cause
all kinds of problems.

> And you are right, it is written there (even by capitals..)

  You need to read and follow the REST of the instructions.  They exist
for a reason.  They're not lying to you.

> One more question. Is there some easy way, how to use different SQL queries (authorize_check_query, authorize_reply_query) depending on the user name prefix or suffix. 
> 
> E.g.:
> user_name at domain1 -> use SQL queries 1
> user_name at domain2 -> use SQL queries 2

  Not easily in 2.2.

  Alan DeKok.


More information about the Freeradius-Users mailing list