rlm_perl module not executing authenticate

Diego Matute dmatute at cyphercor.com
Wed Jun 13 01:01:17 CEST 2012


Thanks for the quick response. Inline.

On Tue, Jun 12, 2012 at 10:44 AM, Alan DeKok <aland at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120612/400be028/attachment.html>


More information about the Freeradius-Users mailing list