free radius output attributes configuration

Iliya Peregoudov iperegudov at
Wed Feb 6 12:31:44 CET 2013

rlm_sql does not support sql parameter binding, neither input, nor 
output.  Specifically rlm_sql xlat (i.e. "%{sql: ...}") return number of 
rows affected for insert/update/delete, and return result of single-row 
and single-column select.

So your only option is a function called inside select from dual:

    if ("{sql: select func('%{User-Name}') from dual}") {

On 06.02.2013 14:19, Lakshmi Narayana Baliah wrote:
> Hi All,
> 	How can configure output attributes in free-radius?
> 	How do i do that ??? please help....

More information about the Freeradius-Users mailing list