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 conf 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}"
       }

In the debug you can see the access-accept with the right value for 2 the attributes :

Wed Aug 29 18:51:21 2012 : Info: ++[chocoldap] returns noop
Sending Access-Accept of id 193 to 127.0.0.1 port 42032
        Alc-SLA-Prof-Str = "sla-profile2"
        Alc-Subsc-Prof-Str = "sub-profile1"
Wed Aug 29 18:51:21 2012 : Info: # Executing section pre-proxy from file /etc/freeradius/sites-enabled/wol
Wed Aug 29 18:51:21 2012 : Info: +- entering group pre-proxy {...}
Wed Aug 29 18:51:21 2012 : Info:        expand: %{User-Name} -> chocouser
Wed Aug 29 18:51:21 2012 : Info:        expand: %{Acct-Session-Id} -> 539848
Wed Aug 29 18:51:21 2012 : Info:        expand: %{NAS-IP-Address} -> 172.20.13.27
Wed Aug 29 18:51:21 2012 : Info:        expand: %{Framed-IP-Address} -> 192.168.1.5
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} ->


On Wed, Aug 29, 2012 at 6:26 PM, Alan DeKok <aland@deployingradius.com> wrote:
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 thought is required.

> This is what i have in my update coa :
>
> update coa {
...
>               Alc-Subsc-Prof-Str = "%{reply:Alc-Subsc-Prof-Str}"
>               Alc-SLA-Prof-Str   = "%{reply:Alc-SLA-Prof-Str}"
>        }
>
> and this is the result with debug  :
...
>         Alc-Subsc-Prof-Str = ""
>         Alc-SLA-Prof-Str = ""

  If you read the REST of the debug log, you'll see the it printing out
the expansion.

  hint: if reply:Alc-Subsc-Prof-Str doesn't exist, the expansion results
in an empty string.

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