User file Includes and DEFAULT section.

Alan DeKok aland at
Mon Feb 23 14:23:33 CET 2015

On Feb 23, 2015, at 7:03 AM, Marc Beaumont <marc.beaumont at> wrote:
> I'm taking over admin of a bunch of freeradius servers and I'm trying to simplify the users definition file.
> From the documentation I can see that you can specify a file to include using the $INCLUDE statement, but I wanted to know if it's possible to include a directory that just has files in and those are automatically included?

  No.  But it’s fairly easy to write a script which creates an include file for a directory

> Also I attempting to specify a DEFAULT section and move all common user entry lines there. Should the DEFAULT section be at the top of the users file or at the bottom as it doesn't seem to work correctly.

  Both should work.  It depends on how you write the entries.

  As always, see the debug output for more information.

  Alan DeKok.

More information about the Freeradius-Users mailing list