different user file for virtual server

Alan DeKok aland at deployingradius.com
Thu Jan 25 14:06:23 CET 2018


On Jan 25, 2018, at 7:49 AM, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
> 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.

  Then you need two different "files" modules.

> I have tried to follow docs and set up:
> 
> modules/files:
> 
> files files_netdev {
>        usersfile = ${confdir}/users_netdev
> }

  That's good.

> from default and example virtual host I have created:
> 
> sites-enabled/virtual_netdev:
> ...
>                files_netdev

  That's good.

> 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?

  Run it in debug mode (radiusd -X), and see more information.

 Alan DeKok.




More information about the Freeradius-Users mailing list