operator !* in update {}

Jakob Hirsch jh at plonk.de
Fri Nov 13 11:50:12 CET 2009


Hi,

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"

other operators work, e.g.

...
update reply {
	Idle-Timeout -= 7200
	Session-Timeout -= 86400
}
...

but that's not handy...


Regards,
Jakob



More information about the Freeradius-Users mailing list