Re: control flow in FreeRADIUS authorize section

2013-10-02 Thread Alan DeKok
Bruce Bauman wrote: We want to stop executing the BUNCH OF UNLANG CODE in the first two cases (infected and tempsus), effectively doing something like a return. There is a return code. See doc/configurable_failover.rst: ok { ok = return } That may work. The issue is that

Re: control flow in FreeRADIUS authorize section

2013-10-02 Thread Arran Cudbard-Bell
We want to stop executing the BUNCH OF UNLANG CODE in the first two cases (infected and tempsus), effectively doing something like a return. Where you have ok in the case stanzas, put ok { ok = return } -Arran Arran Cudbard-Bell a.cudba...@freeradius.org FreeRADIUS Development Team

Re: control flow in FreeRADIUS authorize section

2013-10-02 Thread A . L . M . Buxey
Hi, A simple thing: infected case update control { Tmp-String-0 := stop } ... if (Tmp-String-0 != stop) { BUNCH OF UNLANG CODE } That should work. Ugly, but functional. this is pretty much what I was

Re: control flow in FreeRADIUS authorize section

2013-10-02 Thread Arran Cudbard-Bell
On 2 Oct 2013, at 22:57, a.l.m.bu...@lboro.ac.uk wrote: Hi, A simple thing: infected case update control { Tmp-String-0 := stop } ... if (Tmp-String-0 != stop) { BUNCH OF UNLANG CODE } That should work. Ugly,