|
Hi Guys, some help please . I am trying to do a attr rewrite to change
an Attribute value then do a check based on the attribute that is changed, if
the check fails do another attrib rewrite to the next value and do another check,
until either the check fails or passes. There is basically only 4 checks in the
group statement in the authorise section which do Attrib rewrite Do check (If it fails do) Attrib
rewrite Do
check (If
it fails do) Attrib
check Do
rewrite (If
it fails do) Attrib
check Do
rewrite Reject Pass When it runs it checks the reply packet for
an attribute Configuration-Token which is defined in the radgroupreply for the
users but it seems it cannot find it and gives an error. As below rlm_sqlcounter: (Check item - counter) is less than
zero rlm_sqlcounter: Rejected user keith, check_item=0,
counter=0 modcall[authorize]: module
"MonthlyUnShaped" returns reject for request 2 radius_xlat: 'UNSHAPED_NORMAL' rlm_attr_rewrite: No match found for attribute Configuration-Token
with value 'SHAPED_NORMAL' radius_xlat: 'UNSHAPED_NORMAL' radius_xlat: 'SHAPED_NORMAL' rlm_attr_rewrite: Changed value for attribute
Configuration-Token from 'UNSHAPED_NORMAL' to 'SHAPED_NORMAL' rlm_attr_rewrite: Could not find value pair for
attribute Configuration-Token modcall[authorize]: module
"AttrRewrite_MonthlyBlendedShaped" returns ok for request 2 can anyone help |