FR 3.0: Fall back to proxy if SQL returns no result

Alan DeKok aland at deployingradius.com
Tue Nov 13 19:05:06 CET 2018


On Nov 13, 2018, at 10:14 AM, Rens Houben via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> This didn't work: 
> 
> server radius-test { # from file /etc/freeradius/3.0/sites-enabled/radius-test 
> # Loading authenticate {...} 
> # Loading authorize {...} 
> /etc/freeradius/3.0/sites-enabled/radius-test[179]: redundant sections cannot contain a "update" statement 
> /etc/freeradius/3.0/sites-enabled/radius-test[154]: Errors parsing authorize section.  

  Hmm... I guess that's there to catch people doing bad things.  No worries, just do:

redundant {
	sql
	group {
		update control {
                       Proxy-To-Realm := "FALLBACK"
		}
	}
}

  And that should work.

  Alan DeKok.




More information about the Freeradius-Users mailing list