Using rlm_perl freeradiis 3.0.11
I read the documentation for rlm_perl but i didnt understand where should i write the function , in /mods-available/perl i should uncomment the function i want and then i write it in example.pl , or i should write in the same file (/mods-available/perl) ??? Also after writting the function i just add perl in the specified section in sites-available/default?? Thanks in advance.
In mods-available/perl you reference your perl module. And your perl module contains the functions sub authenticate() etc. Then you need to specify that the authenticate section should use Perl. There are several ways of doing this. You may take a look at this rlm_perl compatible module: https://github.com/privacyidea/FreeRADIUS/blob/f6fa2ac72b77a82c7d232f9612852... Kind regards Cornelius Am Montag, den 30.05.2016, 14:59 +0300 schrieb khouzam.yaghi@gmail.com:
I read the documentation for rlm_perl but i didnt understand where should i write the function , in /mods-available/perl i should uncomment the function i want and then i write it in example.pl , or i should write in the same file (/mods-available/perl) ???
Also after writting the function i just add perl in the specified section in sites-available/default??
Thanks in advance. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Cornelius Kölbel cornelius.koelbel@netknights.it +49 151 2960 1417 NetKnights GmbH http://www.netknights.it Landgraf-Karl-Str. 19, 34131 Kassel, Germany Tel: +49 561 3166797, Fax: +49 561 3166798 Amtsgericht Kassel, HRB 16405 Geschäftsführer: Cornelius Kölbel
participants (2)
-
Cornelius Kölbel -
khouzam.yaghi@gmail.com