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

Alan DeKok aland at deployingradius.com
Wed Nov 14 13:08:22 CET 2018


On Nov 14, 2018, at 2:55 AM, Rens Houben via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> If I'm reading the debug info  right, what happens is that the rlm_sql module returns an "ok" status because it executed correctly - it found no entry in the database, but that isn't an incorrect answer - so the redundant stanza didn't see a need to try the fallback...

  Then read "man unlang" about module return codes.  This is documented.

	sql
	if (ok) {
		update control ...
	}

  Alan DeKok.




More information about the Freeradius-Users mailing list