MAC Authentication Queries
Alan DeKok
aland at deployingradius.com
Thu Sep 26 11:49:12 UTC 2024
On Sep 26, 2024, at 10:26 AM, FreeRAD <yetifreerad at gmail.com> wrote:
> But seemingly whenever I enclose the rest of my Authorize config within the
> final 'else' statement I get an error:
>
> */etc/freeradius/3.0/sites-enabled/default[526]: Failed to find "Autz-Type"
> as a module or policy./etc/freeradius/3.0/sites-enabled/default[526]:
> Please verify that the configuration exists in
You didn't include the rest if the authorize section within the "else" statement. You included huge amounts more of the server configuration.
Don't do that. Use an editor which shows you matching braces. Find the start:
authorize {
Then find the end:
}
add the extra brace before that one.
It also helps to understand the configuration. Are you sure that you want to comment out the rest of the "authorize" section?
> My question is, is removing the else going to cause issues, and if so, how
> can I get around my error?
Make sure that the configuration file has the correct syntax / format. You can't just add "}" in random places and expect it to work.
Alan DeKok.
More information about the Freeradius-Users
mailing list