Newslists

Keith Dovale - HostworX.co.za keith at hostworx.co.za
Fri Feb 8 08:34:24 CET 2008


My Honest opinion of this news list / user group is that it is not helpful
at all, it seems if you are not in the click, no one helps, does anyone
moderate this or not ? I have posted twice now and no one replies.

 

Regards

 

Keith

 

From: Keith Dovale - HostworX.co.za [mailto:keith at HostworX.co.za] 
Sent: Thursday, February 07, 2008 9:08 PM
To:       '
Subject: attr rewrite issue

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080208/e4493dce/attachment.html>


More information about the Freeradius-Users mailing list