Re: Failover for SQL lookup expansions?

2011-03-12 Thread Brian Candler
Phil Mayers wrote: > Correct. Virtual modules (e.g. "redundant") do not implement the "xlat" > function. ... > Unfortunately the "xlat" functions in FR don't return error/success codes. > They return "length of result string", and 0 for any failure condition, > which means it's impossible to distin

Re: Failover for SQL lookup expansions?

2011-03-10 Thread Phil Mayers
On 10/03/11 14:21, Brian Candler wrote: With freeradius 2.1.10 I can configure failover for SQL lookups like this: # in policy.conf sql_foo { redundant { sql_foo_local sql_foo_remote } } # in sites-av

Failover for SQL lookup expansions?

2011-03-10 Thread Brian Candler
With freeradius 2.1.10 I can configure failover for SQL lookups like this: # in policy.conf sql_foo { redundant { sql_foo_local sql_foo_remote } } # in sites-available/foo authorize { sql_