Re: variable expansion in update coa

2012-08-29 Thread Fajar A. Nugraha
On Wed, Aug 29, 2012 at 9:54 PM, Chocoflex Mamba burvi...@gmail.com wrote: tried the syntax %replyAttribute-Name but it's still empty. Of course it's empty. The syntax is wrong. Where did you read that? Or is it a typo? [chocoldap] looking for reply items in directory... [chocoldap]

Re: variable expansion in update coa

2012-08-29 Thread Chocoflex Mamba
It's not a typo, it's just the format in unlang documentation: Attribute lists may be referenced via the following syntax %{list:Attribute-Name} This is what i have in my update coa : update coa { User-Name = %{User-Name}

Re: variable expansion in update coa

2012-08-29 Thread Alan DeKok
Chocoflex Mamba wrote: It's not a typo, it's just the format in unlang documentation: Attribute lists may be referenced via the following syntax %{list:Attribute-Name} Don't be ridiculous. There's no attribute named Attribute-Name. Some amount of independent

Re: variable expansion in update coa

2012-08-29 Thread Chocoflex Mamba
I dit not write %{list:Attribute-Name} in my conf file. What i've understood from the document is that i can write for example : %{request:User-Name} %{reply:Alc-Subsc-Prof-Str} = i have this information in the reply(see below) And like i said in my previous post, that's what i wrote in my

Re: variable expansion in update coa

2012-08-29 Thread Phil Mayers
On 29/08/12 17:53, Chocoflex Mamba wrote: file. Below my update coa section : update coa { User-Name = %{User-Name} Acct-Session-Id= %{Acct-Session-Id} NAS-IP-Address = %{NAS-IP-Address} Framed-IP-Address =

Re: variable expansion in update coa

2012-08-29 Thread Chocoflex Mamba
Yes i was editing the right file but i've found strange characters in the file. I did some cleaning. Now, the update coa is sending every attributes correctly. It seems that i only have the expand ok in the section where i did configure the update coa (not ok in pre-proxy), see below : rad_recv:

Re: variable expansion in update coa

2012-08-29 Thread Alan Buxey
No, those are still missing the reply: bit alan -- This smartphone uses free WiFi around the world with eduroam, now that's what I call smart. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html