$INCLUDE ignored by freeradius

Alan DeKok aland at deployingradius.com
Wed Aug 22 12:28:03 CEST 2012

Krzysztof Grobelak wrote:
> 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.

  What do you mean "it doesn't work" ?

  See the FAQ for "it doesn't work".

  What do you expect to see happening?  What actually happens?

  The $INCLUDE is just a short-cut for "cat":

# -- users file
$INCLUDE users1
$INCLUDE users2

  Results in *exactly* the same behavior as:

$ cat users1 users2 > users

  Alan DeKok.

More information about the Freeradius-Users mailing list