On Tue, Nov 05, 2002 at 10:49:12AM -0500, Alan DeKok wrote:
> > doc/variables.txt mentions that you can use %{Attribute-Name},
> > but what if there are several attributes with the same name,
> > eg Cisco-AVpair?
>
> The server doesn't handle that right now.
>
> > I just want to log ras-tx-speed and ras-rx-speed attributes
> > from the cisco in sql table. Is there any trick?
>
> That's an even more difficult problem. You don't know the order of
> the attributes, so you want to log Cisco-AVpair attributes which
> contain certain values.
>
> Your best bet right now is to use some kind of external program to
> do the work, or to write a module to pull the information you want out
> of the attributes.
Is it possible to rewrite attribute names eg in preprocess module,
like cisco_vsa_hack. eg to convert from:
Cisco-AVPair = "nas-rx-speed=31200"
to
nas-rx-speed=31200
--
Best regards,
Alexey Chetroi
---
Smile... Tomorrow will be worse. (c) Murphy's law
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html