[RADIATOR] format_special for GENERIC attributes.
Michael
ringo at vianet.ca
Fri Jan 25 14:08:20 CST 2013
Suggestion...
I just noticed that when using GENERIC attribute name for AuthColumnDef
in <AuthBy SQL> which allows for a comma separated attribute list, the
result from the select query is not passed through format_special
therefore I can't use global variables.
--- old/Radius/AuthSQL.pm 2013-01-07 17:21:33.000000000 -0500
+++ new/Radius/AuthSQL.pm 2013-01-25 15:08:55.000000000 -0500
@@ -472,6 +472,7 @@ sub getAuthColumns
if ($attrib eq "GENERIC")
{
# Column is a list of attr=value pairs
+ $cols[$colnr] = &Radius::Util::format_special(
$cols[$colnr], $p );
if ($type eq 'check')
{
$user->get_check->parse($cols[$colnr]);
More information about the radiator
mailing list