ok I tried to configure freeRadius with perl sopport.... in the Rlm_perl doc says: <div><p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:23px">
In the users file comment the 'DEFAULT Auth-Type = System' lines, and then add:<span style="background-color:rgb(248,248,248);line-height:19px">DEFAULT Auth-Type = Perl </span><span style="background-color:rgb(248,248,248);line-height:19px">Fall-Through = yes</span></p>
<p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:23px">
<span style="background-color:rgb(248,248,248);line-height:19px">but when I start the server (radiusd -X) it returns me:</span></p><p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<span style="background-color:rgb(248,248,248)"></span></p><p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><font face="'Helvetica Neue', Helvetica, Arial, sans-serif"><span style="line-height:19px">/etc/raddb/users[208]: Parse error (check) for entry DEFAULT: Unknown value Perl for attribute Auth-Type</span></font></p>
<p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><font face="'Helvetica Neue', Helvetica, Arial, sans-serif"><span style="line-height:19px">Errors reading /etc/raddb/users</span></font></p>
<p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><font face="'Helvetica Neue', Helvetica, Arial, sans-serif"><span style="line-height:19px">/etc/raddb/modules/files[7]: Instantiation failed for module "files"</span></font></p>
<p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><font face="'Helvetica Neue', Helvetica, Arial, sans-serif"><span style="line-height:19px">/etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files".</span></font></p>
<p style="margin-top:16px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><font face="'Helvetica Neue', Helvetica, Arial, sans-serif"><span style="line-height:19px">/etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section. </span></font></p>
<div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:19px"><br></div><div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:19px">
what i must do?</div><p></p><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote">El 26 de febrero de 2012 16:51, Fabricio Flores <span dir="ltr"><<a href="mailto:fabrifloresg@gmail.com">fabrifloresg@gmail.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Ok i will try this... thanks</p>
<div class="gmail_quote">El 26/02/2012 16:49, "Alan Buxey" <<a href="mailto:A.L.M.Buxey@lboro.ac.uk" target="_blank">A.L.M.Buxey@lboro.ac.uk</a>> escribió:<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
> Thanks for your answer. I want to test my perl script with freeradius. In<br>
> the command line it works but i want to test with radtest (or something)<br>
> at freeradius. Ia there any test for it?<br>
<br>
if you want to use radtest, then that means you are testing the<br>
FreeRADIUS server - so simply enable PERL in the FreeRADIUS server<br>
(edit the perl module config and then edit the enabled virtual servers<br>
to use the perl module wherever you need it - eg in authenticate section)<br>
<br>
alan<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>
</blockquote></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Fabricio A. Flores G.<br>Egresado en Ingeniería en Sistemas<br><br>MSN: <a href="mailto:fabri_floresg@hotmail.com" target="_blank">fabri_floresg@hotmail.com</a><br>
Google: <a href="mailto:fabrifloresg@gmail.com" target="_blank">fabrifloresg@gmail.com</a><br>Twitter: fabricioflores<br>Skype: fabriciofloresgallardo<br><br><a href="http://fabricioflores.wordpress.com/" target="_blank">Blog Personal</a><br>
<br>
</div>