$INCLUDE ignored by freeradius

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Aug 22 12:20:58 CEST 2012


On 22 Aug 2012, at 11:13, Krzysztof Grobelak <kgrobelak at airspeed.ie> wrote:

> Hello,
> 
> I thought that I sorted the problem but i did not.
> 
> the include directive in the users file does not seem to be working.
> 
> Users will be authenticated if their profile is present in the users file but when i place the profile in external file users.group1 and then add
> $INCLUDE users.group1 to the main users file the authentication fails as it never finds a match in users file.
> 
> Could you please advice.

The users file is NOT part of the FreeRADIUS configuration, and is not processed by the conf parser, so includes will not work.

The users file is used by rlm_files, rlm_files has no support for the $INCLUDE directive.

-Arran


More information about the Freeradius-Users mailing list