Gary Prosser <[email protected]> wrote:
> 
> authorize {
>        preprocess
> chap
> mschap
>        suffix
>       ldap1
>       if(notfound || fail){
>            ldap3
>            if(notfound || fail){
>                ldap2
>                if(notfound || fail){
>                    ldap4
>                }
>            }
>       }
>        files
>        pap
> }
>
Probably better off with failover[1], never got around to sorting it 
out myself, but it is something like this:
----
modules {
        ldap ldap1 {
                [snipped]

                ok = return
        }
        ldap ldap2 {
                [snipped]

                ok = return
        }
        [snipped]
}

authorize {
        preprocess
        suffix

        redundant {
                ldap1
                ldap3
                ldap2
                ldap4
        }

        files
        pap
}
----

No doubt Alan or Arran will correct me.  You could probably also have a 
look at redundant-load-balance[2].

Cheers

[1] http://wiki.freeradius.org/Fail-over
[2] http://wiki.freeradius.org/Load_balancing

-- 
Alexander Clouter
.sigmonster says: Ring around the collar.

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

Reply via email to