<font><font face="verdana,sans-serif">Thanks for the quick response. Inline.<br></font></font><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 10:44 AM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Diego Matute wrote:<br>
> I've installed freeradius and other packages on a vanilla amazon ec2<br>
> instance and am trying to get the rlm_perl module working. Ultimately<br>
> the authenticate function in the perl script is not being run. Here are<br>
> the details.<br>
</div>...<br>
<div>> 1/ Request comes in and authorize is being called within rlm_perl. The<br>
> print statement is not outputting on the server side?<br>
<br>
</div> The modules aren't permitted to print to STDOUT or STDERR.<br></blockquote><div><br></div><div>Got it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
> 2/ How does Auth-Type get set? I've read a bunch of forum threads and it<br>
> looks like best practice nowadays is to let the server figure it out and<br>
> not set it explicitly in /etc/raddb/users, however it isn't being set.<br>
<br>
</div> It isn't being set because the default distribution doesn't use rlm_perl.<br>
<br>
If you want to *force* usage of rlm_perl, you need to set Auth-Type.<br>
If you want to let the server just do the right thing, leave everything<br>
alone.<br>
<span><font color="#888888"><br></font></span></blockquote><div><br></div><div>What is the best practice for this? Should the Auth-Type be set in /etc/raddb/users, within the module, /etc/raddb/sites-available/*?</div><div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span><font color="#888888">
Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></span></blockquote></div><br>