different user file for virtual server
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Jan 25 13:49:38 CET 2018
Hello,
I'm configuring freeradius 2.2.5 (debian 8)
I need to define two different user files for two virtual hosts
- different types of users for different types of services.
I have tried to follow docs and set up:
modules/files:
files files_netdev {
usersfile = ${confdir}/users_netdev
}
from default and example virtual host I have created:
sites-enabled/virtual_netdev:
listen {
type = auth
port = 1822
virtual_server = virtual_netdev
}
server virtual_netdev {
authorize {
preprocess
files_netdev
chap
mschap
digest
netdev
expiration
logintime
pap
}
authenticate {
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
digest
}
}
however the log file tells me:
Thu Jan 25 13:48:54 2018 : Error: /etc/freeradius/sites-enabled/virtual_netdev[10]: Failed to find "files_netdev" in the "modules" section.
Thu Jan 25 13:48:54 2018 : Error: /etc/freeradius/sites-enabled/virtual_netdev[8]: Errors parsing authorize section.
Thu Jan 25 13:48:54 2018 : Error: Failed to load virtual server virtual_netdev
any hint what is the mistake I did?
Thank you
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...
More information about the Freeradius-Users
mailing list