Variable/Attribute expansion in SQL

Antônio Modesto modesto at hubsoft.com.br
Mon Mar 7 21:07:01 UTC 2022


Hello everyone,

Do you guys know if there is a way to have variable expansion working 
when attributes are fetched from a SQL database? For example:

Reply-Message := "Hello, %{User-Name}"

I have a situation where I must use something like this only for a 
specific type of NAS. I could edit the configuration to do this 
conditionally in the post-auth section, but if it is possible with SQL 
it would be a cleaner solution.

We use Freeradius 3.0.21 or later.

-- 
Att, *Antônio Modesto*


More information about the Freeradius-Users mailing list