Hi experts,
I am trying to configure eap-sim on and when I start the radiusd process I get the following error:
---
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /usr/local/etc/raddb/eap.conf
eap {
default_eap_type = "sim"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Ignoring EAP-Type/tls because we do not have OpenSSL support.
Ignoring EAP-Type/ttls because we do not have OpenSSL support.
Ignoring EAP-Type/peap because we do not have OpenSSL support.
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
Module: Linked to sub-module rlm_eap_sim
Module: Instantiating eap-sim
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file /usr/local/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/usr/local/etc/raddb/huntgroups"
hints = "/usr/local/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file /usr/local/etc/raddb/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
/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
/usr/local/etc/raddb/sites-enabled/default[157]: Failed to load module "sim_files".
/usr/local/etc/raddb/sites-enabled/default[69]: Errors parsing authorize section.
---
Are there anything that I have missed?
I have setup the config as follows:
The eap modules are present
# pwd
/usr/local/lib
# ls rlm_eap*
Config files:
/usr/local/etc/raddb/radiusd.conf
modules {
sim_files {
simtriplets = "/usr/local/etc/raddb/simtriplets.dat"
}
/usr/local/etc/raddb/eap.conf
eap {
sim {
}
default_eap_type = sim
}
/usr/local/etc/raddb/sites-enabled/default
authorize {
sim_files
eap {
ok = return
}
}
The simtriplets.dat files are located in /usr/local/etc/raddb/
Are there anything that I missed out?
Thanks,
Tony