$INCLUDE path/ and filenames with spaces

Alan DeKok aland at deployingradius.com
Wed Jan 6 14:55:09 CET 2016


On Jan 5, 2016, at 9:28 AM, Stefan Winter <stefan.winter at restena.lu> wrote:
> just a short note that I just tried that, but the file with spaces in
> its name did not get picked up at server start (while all the others in
> the same directory were).

  When the server does:

$INCLUDE dir/

  It reads the directory.  It doesn't care about the filenames.  So filenames with spaces should work.

  When the server does:

$INCLUDE file

  It reads the filename,

> Not sure if this is known and maybe even intentional(?), but just in
> case others want to be just as fancy and have very nice filenames in
> your config... just don't :-)

  Yes.  Filenames with spaces and other special characters are not handled well by most tools.

  Alan DeKok.




More information about the Freeradius-Users mailing list