configuration parameters for perl module in rlm_perl

Thomas Glanzmann thomas at
Fri Mar 14 14:25:33 CET 2014


> is there are recommended way to pass configuration parameter to a
> rlm_perl module?

I had the same problem and came to the conclusion it is not possible
without changing the FreeRadius code. I solved it by using two
configuration directories and symlinking the perl code and extracting
the basename within the perl module:

our $mandant = dirname($0) . '/';

It also seems to be possible to do something like that: Which I don't

perl_flags ='-e "\$ENV{mandant} = \"VDI\"; do \"/path/to/file\"';


More information about the Freeradius-Users mailing list