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

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 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 = "%{F

Re: variable expansion in update coa

2012-08-29 Thread Chocoflex Mamba
I dit not write "%{: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 con

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 > > " %{: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
It's not a typo, it's just the format in unlang documentation: "Attribute lists may be referenced via the following syntax " %{:Attribute-Name} This is what i have in my update coa : update coa { User-Name = "%{User-Name}" Acct-Sess

Re: variable expansion in update coa

2012-08-29 Thread Fajar A. Nugraha
On Wed, Aug 29, 2012 at 9:54 PM, Chocoflex Mamba wrote: > tried the syntax %Attribute-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] AlcSLAProfStr -> Alc-SLA-Pr

variable expansion in update coa

2012-08-29 Thread Chocoflex Mamba
Hi everybody ! I've configured freeradius with an ldap backend. I had to create new attributes that are sent correctly in the reply. But when i try to put these attributes in the "update coa", the value of these variable are empty. I've tried the syntax %Attribute-Name but it's still empty. Here t