On Tue, Jun 12, 2012 at 10:44 AM, Alan DeKok
<aland@deployingradius.com> wrote:
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.
Got it.
> 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.
What is the best practice for this? Should the Auth-Type be set in /etc/raddb/users, within the module, /etc/raddb/sites-available/*?
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html