variable expansion in update coa

Phil Mayers p.mayers at imperial.ac.uk
Wed Aug 29 19:06:46 CEST 2012


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  = "%{Framed-IP-Address}"
>                Alc-Subsc-Prof-Str = "%{reply:Alc-Subsc-Prof-Str}"
>                Alc-SLA-Prof-Str   = "%{reply:Alc-SLA-Prof-Str}"

Ok, you say you have reply:Var but the debug says:

> Wed Aug 29 18:51:21 2012 : Info:        expand: %{Alc-Subsc-Prof-Str} ->
> Wed Aug 29 18:51:21 2012 : Info:        expand: %{Alc-SLA-Prof-Str} ->

Note: no "reply:".

Are you editing the right file? Have you restarted the server?


More information about the Freeradius-Users mailing list