"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