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

Rens Houben rhouben at systemec.nl
Wed Nov 14 08:55:50 CET 2018


Van: Freeradius-Users <freeradius-users-bounces+rhouben=systemec.nl at lists.freeradius.org> namens Alan DeKok <aland at deployingradius.com>
Verzonden: dinsdag 13 november 2018 19:05
Aan: FreeRadius users mailing list
Onderwerp: Re: FR 3.0: Fall back to proxy if SQL returns no result


>  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.


UPDATE: Nope.

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...


>  Alan DeKok.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list