Using rlm_perl freeradiis 3.0.11

Cornelius Kölbel cornelius.koelbel at
Mon May 30 14:15:49 CEST 2016

In mods-available/perl you reference your perl module.

And your perl module contains the functions

  sub authenticate()


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:

Kind regards

Am Montag, den 30.05.2016, 14:59 +0300 schrieb khouzam.yaghi at
> 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 , 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

Cornelius Kölbel
cornelius.koelbel at
+49 151 2960 1417

NetKnights GmbH
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Freeradius-Users mailing list