Hi,
Wiki page of fail-over suggest

authorize {
    preprocess
    redundant {
        sql1
        sql2
        notfound = return
    }
    files
}


I am trying to do similar but radius is giving error
 group {
                redundant {
                        ldap_primary
                        fail = return  <-----*Entry with no value is invalid
*
                }
        if(fail){
                files_local
        }
        else {
                files
        }
        }

Why this could be ?


On Fri, Mar 15, 2013 at 6:13 PM, Olivier Beytrison <[email protected]>wrote:

> On 15.03.2013 12:08, Chitrang Srivastava wrote:
> > Hi,
> >
> > I want to do something like this in *authorize* section
> >
>
> ldap {
>    fail = return
> }
> if(fail) {
>    files_local
> }
> else {
>    files
> }
>
> something like that should work. The ldap module will fail if the
> servers are unreachable.
>
> Olivier
> --
>
>  Olivier Beytrison
>  Network & Security Engineer, HES-SO Fribourg
>  Mail: [email protected]
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to