AW: Multiple Appearing of the same Attribute & variables

Metz, Frederic Frederic.Metz at
Thu Jul 21 13:29:41 CEST 2005


thank you Alan. 

While compiling the actual CVS (and also CVS nightly snapshot) there was a compile error in rlm_sql.c with the funcion call

if (!client_add(mainconfig.client_trees, c)) {
	return -1;

You can see that client_add(..) expects RADCLIENT_LIST* as the first parameter, so this should look like this I think, right ? :

if (!client_add(mainconfig.clients, c)) {
	return -1;

Frederic-Philippe Metz

-----Ursprüngliche Nachricht-----
Von: freeradius-users-bounces at [mailto:freeradius-users-bounces at] 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> 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

  Alan DeKok.

List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list