<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">Hi list,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Just wondering if there is a way to enable the Perl module to work without changing the users files as described here <a href="http://wiki.freeradius.org/modules/Rlm_perl" target="_blank">http://wiki.freeradius.org/modules/Rlm_perl</a>.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">This page describe that to enable the Perl module the users file needs to be changed by adding the following line:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:15px;padding:6px 10px;background-color:rgb(248,248,248);border:1px solid rgb(204,204,204);line-height:19px;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;color:rgb(51,51,51)">
DEFAULT Auth-Type = Perl
Fall-Through = yes</pre></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">In many places (<a href="http://wiki.freeradius.org/config/Auth%20Type" target="_blank">http://wiki.freeradius.org/config/Auth%20Type</a>) I'm reading that it is not a good idea to intervene by setting the <span style="background-color:rgb(248,248,248);color:rgb(51,51,51);line-height:19px">Auth-Type manually</span>, but still on the wiki page of rlm_perl this is being described as the way to enable the Perl module to work.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Until now I've been using the Perl module alone to authenticate/authorize and changing the users file works great. But now I need to combine EAP/SIM module with Perl module. So when the message contains EAP/SIM attributes it needs to authenticate using EAP module, else it needs to fallback to the Perl one. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">With the users script changed as described on the perl_module page the EAP module won't work and if I don't change the users it will use EAP/SIM module, but Perl module will fail. So intervening here looks like is causing modules not to work properly</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Which strategy needs one to follow when using the Perl script in combination with EAP/SIM. Just want to be sure that I'm using the proper way to enable the Perl module, without intervening in the Auth-Type.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks you for your time. If you need me to add the default and the users file, just let me know. </div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">Shurbann Martes</div></div>