User file Includes and DEFAULT section.
Hi, 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?
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. My DEFAULT section has passthrough set. Marc Scanned by MailDefender - managed email security from intY - www.maildefender.net
On Feb 23, 2015, at 7:03 AM, Marc Beaumont <marc.beaumont@comms365.com> 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.
participants (2)
-
Alan DeKok -
Marc Beaumont