Newslists
Keith Dovale - HostworX.co.za
keith at hostworx.co.za
Sat Feb 9 20:32:30 CET 2008
Ok but then
The thing about the attr_rewrite module is that it looks at ALL attributes
in the list. In this case, you have two Configuration-Tokens. One has
value "SHAPED_NORMAL", and the other "UNSHAPED_NORMAL". It doesn't match
the first, but it does match the second. After that, it says it couldn't
find any more.
Where does it get the second Configuration-Token from ?
Regards
Keith Dovale
-----Original Message-----
From: freeradius-users-bounces+keith=hostworx.co.za at lists.freeradius.org
[mailto:freeradius-users-bounces+keith=hostworx.co.za at lists.freeradius.org]
On Behalf Of Alan DeKok
Sent: Saturday, February 09, 2008 6:17 PM
To: FreeRadius users mailing list
Subject: Re: Newslists
Keith Dovale - HostworX.co.za wrote:
> A user logs in with shaped access, the group reply sets Configuration
token
> to SHAPED_NORMAL ok nowhere else is the Configuration-Token setup.
>
> The attrib-rewrite for unshaped kicks in and should check to see if the
> Configuration-token is UNSHAPED_LOCAL and if it can't find it rewrite it
to
> SHAPED_LOCAL is that not right.
Yes.
> Then if the sqlcounter fails move into the next attrib-rewrite.
>
> But in the debug it is looking for SHAPED_NORMAL in the UNSHAPED attrib
> rewrite.
No. As I said, that debug message is wrong.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list