<div>Hi experts,</div><div><br></div><div>I am trying to configure eap-sim on and when I start the <span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">radiusd process I get the following error:</span></div>
<div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><br></span></div>---<br style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">
<div> Module: Linked to module rlm_eap</div><div> Module: Instantiating module "eap" from file /usr/local/etc/raddb/eap.conf</div><div> eap {</div><div> default_eap_type = "sim"</div><div> timer_expire = 60</div>
<div> ignore_unknown_eap_types = no</div><div> cisco_accounting_username_bug = no</div><div> max_sessions = 4096</div><div> }</div><div> Module: Linked to sub-module rlm_eap_md5</div><div> Module: Instantiating eap-md5</div>
<div> Module: Linked to sub-module rlm_eap_leap</div><div> Module: Instantiating eap-leap</div><div> Module: Linked to sub-module rlm_eap_gtc</div><div> Module: Instantiating eap-gtc</div><div> gtc {</div><div> challenge = "Password: "</div>
<div> auth_type = "PAP"</div><div> }</div><div>Ignoring EAP-Type/tls because we do not have OpenSSL support.</div><div>Ignoring EAP-Type/ttls because we do not have OpenSSL support.</div><div>Ignoring EAP-Type/peap because we do not have OpenSSL support.</div>
<div> Module: Linked to sub-module rlm_eap_mschapv2</div><div> Module: Instantiating eap-mschapv2</div><div> mschapv2 {</div><div> with_ntdomain_hack = no</div><div> send_error = no</div><div> }</div><div>
Module: Linked to sub-module rlm_eap_sim</div><div> Module: Instantiating eap-sim</div><div> Module: Checking authorize {...} for more modules to load</div><div> Module: Linked to module rlm_preprocess</div><div> Module: Instantiating module "preprocess" from file /usr/local/etc/raddb/modules/preprocess</div>
<div> preprocess {</div><div> huntgroups = "/usr/local/etc/raddb/huntgroups"</div><div> hints = "/usr/local/etc/raddb/hints"</div><div> with_ascend_hack = no</div><div> ascend_channels_per_line = 23</div>
<div> with_ntdomain_hack = no</div><div> with_specialix_jetstream_hack = no</div><div> with_cisco_vsa_hack = no</div><div> with_alvarion_vsa_hack = no</div><div> }</div><div> Module: Linked to module rlm_realm</div>
<div> Module: Instantiating module "suffix" from file /usr/local/etc/raddb/modules/realm</div><div> realm suffix {</div><div> format = "suffix"</div><div> delimiter = "@"</div>
<div> ignore_default = no</div><div> ignore_null = no</div><div> }</div><div>/usr/local/etc/raddb/radiusd.conf[698]: Failed to link to module 'rlm_sim_files': ld.so.1: radiusd: fatal: rlm_sim_files.so: open failed: No such file or directory </div>
<div>/usr/local/etc/raddb/sites-enabled/default[157]: Failed to load module "sim_files".</div><div>/usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize section. </div><div><br></div><div>---<div>
<br></div><div><span style="font-size:13px;color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">Are there anything that I have missed?</span><div><font color="#222222" face="arial, sans-serif"><br>
</font>
<div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I have setup the config as follows:</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br>The eap modules are present</div><div><br></div><div><div># pwd</div><div>/usr/local/lib</div><div># ls rlm_eap*</div><div><a href="http://rlm_eap_gtc-2.1.12.la">rlm_eap_gtc-2.1.12.la</a> <a href="http://rlm_eap_leap-2.1.12.so">rlm_eap_leap-2.1.12.so</a> rlm_eap_md5.a <a href="http://rlm_eap_mschapv2.la">rlm_eap_mschapv2.la</a> rlm_eap_sim.so</div>
<div><a href="http://rlm_eap_gtc-2.1.12.so">rlm_eap_gtc-2.1.12.so</a> rlm_eap_leap.a <a href="http://rlm_eap_md5.la">rlm_eap_md5.la</a> rlm_eap_mschapv2.so <a href="http://rlm_eap-2.1.12.la">rlm_eap-2.1.12.la</a></div>
<div>rlm_eap_gtc.a <a href="http://rlm_eap_leap.la">rlm_eap_leap.la</a> rlm_eap_md5.so <a href="http://rlm_eap_sim-2.1.12.la">rlm_eap_sim-2.1.12.la</a> <a href="http://rlm_eap-2.1.12.so">rlm_eap-2.1.12.so</a></div>
<div><a href="http://rlm_eap_gtc.la">rlm_eap_gtc.la</a> rlm_eap_leap.so <a href="http://rlm_eap_mschapv2-2.1.12.la">rlm_eap_mschapv2-2.1.12.la</a> <a href="http://rlm_eap_sim-2.1.12.so">rlm_eap_sim-2.1.12.so</a> rlm_eap.a</div>
<div>rlm_eap_gtc.so <a href="http://rlm_eap_md5-2.1.12.la">rlm_eap_md5-2.1.12.la</a> <a href="http://rlm_eap_mschapv2-2.1.12.so">rlm_eap_mschapv2-2.1.12.so</a> rlm_eap_sim.a <a href="http://rlm_eap.la">rlm_eap.la</a></div>
<div><a href="http://rlm_eap_leap-2.1.12.la">rlm_eap_leap-2.1.12.la</a> <a href="http://rlm_eap_md5-2.1.12.so">rlm_eap_md5-2.1.12.so</a> rlm_eap_mschapv2.a <a href="http://rlm_eap_sim.la">rlm_eap_sim.la</a> rlm_eap.so</div>
<div><br></div><div><br></div><div>Config files:</div><div><br></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">/usr/local/etc/raddb/radiusd.</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">conf</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">modules {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> sim_files {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> simtriplets = "/usr/local/etc/raddb/</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">simtriplets.dat"</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> }</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">/usr/local/etc/raddb/eap.conf</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> eap {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> sim {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> }</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> default_eap_type = sim</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> }</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">/usr/local/etc/raddb/sites-</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">enabled/default</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">authorize {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> sim_files</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> eap {</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> ok = return</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> }</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">}</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">The simtriplets.dat files are located in /usr/local/etc/raddb/</div><div><br style="background-color:rgb(255,255,255)">
Are there anything that I missed out?</div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks,</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Tony</span></div></div></div></div>