radius + rlm_ldap: alter auth-type if server not reachable

Thomas Dupas thomas at dupas.be
Mon Aug 22 12:34:51 CEST 2011


Not yet tried it with a more recent version (trying to stick to the OS-packages).
I did was able to get it working by modifying the policy.conf file to:
        do_not_respond {
                update control {
                        Response-Packet-Type := Do-Not-Respond
                        Auth-Type := Accept
                }

                handled
        }

Then it doesn't send a reply when the ldap is down

Br,

Thomas

-----Original Message-----
From: freeradius-users-bounces+thomas=dupas.be at lists.freeradius.org [mailto:freeradius-users-bounces+thomas=dupas.be at lists.freeradius.org] On Behalf Of Arran Cudbard-Bell
Sent: maandag 22 augustus 2011 12:05
To: FreeRadius users mailing list
Subject: Re: radius + rlm_ldap: alter auth-type if server not reachable

> 
> +++- policy do_not_respond returns handled
> ++- if (fail) returns handled
> Using Post-Auth-Type Reject
> +- entering group REJECT {...}
> 

Weird... that should work. Have you tried with a more recent version of FR?

-Arran

Arran Cudbard-Bell
a.cudbardb at freeradius.org

RADIUS - Half the complexity of Diameter

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




More information about the Freeradius-Users mailing list