operator !* in update {}

Alexander Clouter alex at digriz.org.uk
Fri Nov 13 13:03:33 CET 2009


Jakob Hirsch <jh at plonk.de> wrote:
> 
> according to unlang:
> 
>>  !*     Delete all occurances of the named attribute, no matter what the value.
> 
> but when I want to use it like that:
> 
> post-auth {
>        Post-Auth-Type REJECT {
>                update reply {
>                        Idle-Timeout !* 0
>                        Session-Timeout !* 0
>                }
>        }
> }
> 
> but freeradius (2.1.7) does not seem to like it:
> 
>> /etc/freeradius2//sites/ui.site.conf[205]: Parse error after "Idle-Timeout"
> 
I get the same thing and kept meaning to file a bug report.  I opted as 
a quick hack:
----
update reply {
	Blar -= "%{reply:Blar}"
}
----

Cheers

-- 
Alexander Clouter
.sigmonster says: BOFH excuse #248:
                  Too much radiation coming from the soil.




More information about the Freeradius-Users mailing list