> Cisco-AVPair = "ip:source-ip=192.168.0.127"
> Cisco-AVPair = "ip:source-port=4051"
> Cisco-AVPair = "ip:destination-ip=10.10.10.1"
> Cisco-AVPair = "ip:destination-port=23"
...
> But FreeRadius;sql.conf .'%{Cisco-AVPair}', . still returns only the
> first instance of Cisco-AVPair. ("ip:source-ip=192.168.0.127")
Usually I write += instead of =. Works fine.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Monday, July 12, 2004 6:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Cisco-AVPair store in MySQL4/freeradius1.0.0
"Matthias Wolf" <[EMAIL PROTECTED]> wrote:
> had spent many time reading the FAQ but I'm still searching the solve
> for Cisco-AVPair (PIX 525-Accounting) insert into Mysql database.
>
...
> Cisco-AVPair = "ip:source-ip=192.168.0.127"
> Cisco-AVPair = "ip:source-port=4051"
> Cisco-AVPair = "ip:destination-ip=10.10.10.1"
> Cisco-AVPair = "ip:destination-port=23"
...
> But FreeRadius;sql.conf .'%{Cisco-AVPair}', . still returns only the
> first instance of Cisco-AVPair. ("ip:source-ip=192.168.0.127")
That's the intended behavior.
In the latest CVS snapshots, you can use:
%{Cisco-AVPair[0]} is the same as %{Cisco-AVPair}
%{Cisco-AVPair[1]) is the next one
%{Cisco-AVPair[2]) is the next one, etc.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html