Something like this seems to be working
        group {
            fail =1   -> is this OK ?
            redundant {
                ldap_primary
                ldap_secondary
            }
        }
        if(fail){
            files_local
        }
        else {
            files
        }

On Mon, Mar 25, 2013 at 7:53 PM, Chitrang Srivastava <chitrang.srivastava@gmail.com> wrote:
This is what wiki page says to do
authorize { preprocess redundant { sql1 sql2 notfound = return } files }
I am trying similar stuff


On Mon, Mar 25, 2013 at 7:13 PM, Alan DeKok <aland@deployingradius.com> wrote:
Chitrang Srivastava wrote:
> Even with ldap_secondary I get same error
>  redundant {
>                         ldap_primary
>                         ldap_secondary
>                         fail = 1
>                 }

  Read doc/configurable_failover, and "man unlang".

  This is documented.  Yout can't just randomly insert things into the
configuration files.

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