Hi,
I try to Install PID on Centos7 by using directive in Two-Factor-Authentication with OTP on Centos7
When I came to Test Freeradius step, I got an error while run freeradius in debug mode
freeradius -X
…
…
Instantiating module “eap” from file /etc/raddb/mods-enabled/eap /etc/raddb/mods-enabled/eap[14]: Failed to find ‘Auth-Type EAP’ section. Cannot authenticate users. /etc/raddb/mods-enabled/eap[14]: Instantiation failed for module “eap”
Hi and welcome to the forum,
the linked HowTo is quite outdated and will be replaced soon.
Centos7 uses FreeRadius 3.0 which changes the config, maybe this post might help:
Sorry but I dont’t understand. The link that Is shared, is exactly same that you offer.
Anser not clear for me. But, you mean I’ve to change
/etc/raddb/sites-available/privacyidea file according to Provide config for packing for FreeRADIUS2 and 3 ?
Do I have to delete old one:
server default {
listen {
type = auth
ipaddr = *
port = 0
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
ipaddr = *
port = 0
type = acct
limit {
}
}
authorize {
preprocess
digest
suffix
ntdomain
files
expiration
logintime
pap
update control {
Auth-Type := Perl
}
}
Delete this file: /etc/raddb/mods-enabled/eap (which actually is a link)
It fails to initialize eap. You are not using eap. So the logical step is to disable eap (by deleting the file.