rlm_perl module not executing authenticate

Alan DeKok aland at deployingradius.com
Tue Jun 12 16:44:30 CEST 2012


Diego Matute wrote:
> I've installed freeradius and other packages on a vanilla amazon ec2
> instance and am trying to get the rlm_perl module working. Ultimately
> the authenticate function in the perl script is not being run. Here are
> the details.
...
> 1/ Request comes in and authorize is being called within rlm_perl. The
> print statement is not outputting on the server side?

  The modules aren't permitted to print to STDOUT or STDERR.

> 2/ How does Auth-Type get set? I've read a bunch of forum threads and it
> looks like best practice nowadays is to let the server figure it out and
> not set it explicitly in /etc/raddb/users, however it isn't being set.

  It isn't being set because the default distribution doesn't use rlm_perl.

  If you want to *force* usage of rlm_perl, you need to set Auth-Type.
If you want to let the server just do the right thing, leave everything
alone.

  Alan DeKok.


More information about the Freeradius-Users mailing list