Query regarding redundant module and configurable failover codes
Fajar A. Nugraha
list at fajar.net
Tue Dec 13 07:59:26 CET 2011
On Tue, Dec 13, 2011 at 1:54 PM, Shweta Khadse <shwetgk at gmail.com> wrote:
> Thankyou Alan!
>
> You gave us an idea about how we can set "ok" to return a default ok for the
> section.
>
> We tested with our second approach as below and thrilled that it works/
> This ensures radius returns ok even if the sql_update_**** modules fail.
>
> redundant{
> ok
> }
> sql_update_xxxx {
> FAIL=1
> }
> sql_update_yyyy {
> FAIL=1
> }
>
DId you REALLY test that? A quick glance says the OK block will always
be used, thus making sql_update* pretty much useless. Why not use
Alan's example?
--
Fajar
More information about the Freeradius-Users
mailing list