15 May
2013
15 May
'13
12:35 p.m.
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.