ldap connection status

Chitrang Srivastava chitrang.srivastava at gmail.com
Mon Mar 25 13:00:51 CET 2013


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 <olivier at heliosnet.org>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: olivier at heliosnet.org
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130325/e9776fa6/attachment.html>


More information about the Freeradius-Users mailing list