Ignoring failed module in post-auth

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Tue Jan 10 00:31:14 CET 2012


Hi,

> but in case that the central mysql server (for many radius servers) is 
> unreachable, the loggining of request was failed and the module 
> executions returns with "++[sql] returns fail" and also whole 
> autentication procedure fails with REJCT even if the user was 
> successufully authenticated inside the "authenticate" section.

man unlang

                   ok              the module succeeded
                   updated         the module updated the request
                   fail            the module failed

and then doc/configurable_failover

you want something like

post-auth {

	sql_log {
	fail = return
	}

}




More information about the Freeradius-Users mailing list