ASSERT FAILED

Jakob Hirsch jh at plonk.de
Wed May 15 18:35:18 CEST 2013


Alan DeKok, 15.05.2013 15:27:
>> If so, what is difference between the
>> outcome of
>>   %{%{Unset-Attribute}:-""}
>> and a simple
>>   %{Unset-Attribute}
>   Nothing.

So the OP's assignment

"%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{%{Operator-Name}:-}}"

could simply rewritten to this?

"%{md5:${policy.cui_hash_key}%{tolower:%{User-Name}}%{Operator-Name}}"

>   The change was made deliberately, and to avoid bugs.  In shell,
> variable names can't have colons.  In FreeRADIUS modules, they can.

Oh, ok, I wasn't aware if this.



More information about the Freeradius-Devel mailing list