variable expansion in update coa
Fajar A. Nugraha
list at fajar.net
Wed Aug 29 17:03:17 CEST 2012
On Wed, Aug 29, 2012 at 9:54 PM, Chocoflex Mamba <burvinch at gmail.com> wrote:
> tried the syntax %<reply>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-Prof-Str = "sla-profile2"
> [chocoldap] AlcSubscProfStr -> Alc-Subsc-Prof-Str = "sub-profile1"
so those are reply attributes?
> expand: %{Alc-Subsc-Prof-Str#} ->
> expand: %{Alc-SLA-Prof-Str} ->
Try
%{reply:Alc-Subsc-Prof-Str#}
%{reply:Alc-SLA-Prof-Str}
See http://freeradius.org/radiusd/man/unlang.html for details.
--
Fajar
More information about the Freeradius-Users
mailing list