Something like this seems to be working
group {
fail =1 -> is this OK ?
redundant {
ldap_primary
ldap_secondary
}
}
if(fail){
files_local
}
else {
files
}
This is what wiki page says to doauthorize { preprocess redundant { sql1 sql2 notfound = return } files }I am trying similar stuffOn Mon, Mar 25, 2013 at 7:13 PM, Alan DeKok <aland@deployingradius.com> wrote:
Chitrang Srivastava wrote:Read doc/configurable_failover, and "man unlang".
> Even with ldap_secondary I get same error
> redundant {
> ldap_primary
> ldap_secondary
> fail = 1
> }
This is documented. Yout can't just randomly insert things into the
configuration files.
Alan DeKok.