|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
These are the functions used to create Radius reply attributes. An attribute creation function can take any number of arguments. The type of its return is determined by the type of Radius attribute the value will be assigned to. To invoke the function, write its name in the A/V pair of the RHS in the ‘raddb/users’ file, e.g.:
DEFAULT Auth-Type = SQL Service-Type = Framed-User, Framed-IP-Address = "=get_ip_addr(10.10.10.1)"
get_ip_addr will be invoked after successful
authentication and it will be passed the IP
10.10.10.1 as its
argument. An example of a useful function that can be invoked this
This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.