Multiple Appearing of the same Attribute & variables

Metz, Frederic Frederic.Metz at t-com.net
Fri Jul 22 15:40:55 CEST 2005


Hi,

now I tried the actual CVS nightly snapshot of today, because of shared lib errors I disabled the rlm_eap module in Make.inc, I need the radius server in the first step only for accounting.

Nevertheless, the %{Attribute[index]} didn't work. The field in the sql statement in debug mode is empty. If I use %{Attribute}, I get the first appearing attribute, that's how it works also in 1.0.4.

Do you have any tips ?

Frederic



-----Ursprüngliche Nachricht-----
Von: freeradius-users-bounces at lists.freeradius.org [mailto:freeradius-users-bounces at lists.freeradius.org] Im Auftrag von Alan DeKok
Gesendet: Mittwoch, 20. Juli 2005 18:27
An: FreeRadius users mailing list
Betreff: Re: Multiple Appearing of the same Attribute & variables 

"Metz, Frederic" <Frederic.Metz at t-com.net> wrote:
> I have a Radius Packet with one Vendor Specific Attribute coming
> twice in that packet. Since I am writing the information into Mysql
> database, I wanted to know how to address the first and the second ?
> I saw that %{Attribute[index]} should work, but it doesn't. The
> entry (seen in Debug mode) is empty. I am using Radius 1.0.4. What's
> wrong with my conf ?

  The problem is not your configuration.  The problem is that the
syntax you quoted is valid only in the current CVS snapshot, not in
1.0.4.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




More information about the Freeradius-Users mailing list