It's not a typo, it's just the format in unlang documentation: <br> <br><br> "Attribute lists may be referenced via the following syntax
<p>
</p><dl compact><dd>
<pre> " %{<list>:Attribute-Name}
</pre>
</dd></dl><br><br>This is what i have in my update coa :<br><br>update coa {<br> User-Name = "%{User-Name}"<br> Acct-Session-Id = "%{Acct-Session-Id}"<br> NAS-IP-Address = "%{NAS-IP-Address}"<br>
Framed-IP-Address = "%{Framed-IP-Address}"<br> Alc-Subsc-Prof-Str = "%{reply:Alc-Subsc-Prof-Str}"<br> Alc-SLA-Prof-Str = "%{reply:Alc-SLA-Prof-Str}"<br>
}<br><br>and this is the result with debug :<br><br>Sending Access-Accept of id 15 to 127.0.0.1 port 55966<br> Alc-SLA-Prof-Str = "sla-profile2"<br> Alc-Subsc-Prof-Str = "sub-profile1"<br>
WARNING: Empty pre-proxy section. Using default return values.<br>Sending CoA-Request of id 165 to 80.236.127.146 port 3799<br> User-Name = "chocouser"<br> Acct-Session-Id = "539848"<br>
NAS-IP-Address = 172.20.13.27<br> Framed-IP-Address = 192.168.1.5<br> Alc-Subsc-Prof-Str = ""<br> Alc-SLA-Prof-Str = ""<br><br><div class="gmail_quote">On Wed, Aug 29, 2012 at 5:03 PM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, Aug 29, 2012 at 9:54 PM, Chocoflex Mamba <<a href="mailto:burvinch@gmail.com">burvinch@gmail.com</a>> wrote:<br>
<br>
> tried the syntax %<reply>Attribute-Name but it's still empty.<br>
<br>
</div>Of course it's empty. The syntax is wrong. Where did you read that? Or<br>
is it a typo?<br>
<div class="im"><br>
> [chocoldap] looking for reply items in directory...<br>
> [chocoldap] AlcSLAProfStr -> Alc-SLA-Prof-Str = "sla-profile2"<br>
> [chocoldap] AlcSubscProfStr -> Alc-Subsc-Prof-Str = "sub-profile1"<br>
<br>
</div>so those are reply attributes?<br>
<div class="im"><br>
> expand: %{Alc-Subsc-Prof-Str#} -><br>
> expand: %{Alc-SLA-Prof-Str} -><br>
<br>
</div>Try<br>
<br>
%{reply:Alc-Subsc-Prof-Str#}<br>
%{reply:Alc-SLA-Prof-Str}<br>
<br>
See <a href="http://freeradius.org/radiusd/man/unlang.html" target="_blank">http://freeradius.org/radiusd/man/unlang.html</a> for details.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Fajar<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></span></blockquote></div><br>