rlm_perl authentication override

Henry henka at cityweb.co.za
Fri Dec 19 10:43:33 CET 2008


Quoting tnt at kalik.net:

>> Using rlm_perl, if a request is received and I want to accept the
>> login without performing any normal auth (in authorize()), what would
>> I need to return?
>>
>
> Auth-Type Accept.

Thanks Ivan.  I eventually figured out by trial and error that the  
following needs to be done in authorize():

...
$RAD_CHECK{'Auth-Type'} = 'Accept';
return RLM_MODULE_OK;

Cheers
Henry





More information about the Freeradius-Users mailing list