return statement failure

Alan DeKok aland at deployingradius.com
Thu Sep 22 16:53:27 CEST 2016


On Sep 22, 2016, at 10:50 AM, John Kristoff <jtk at depaul.edu> wrote:
> Thanks Alan, but I'm still a little confused.  If I have this:
> 
>  post-auth {
>          if (ok) {
>                  return
>          }
> 
> That results in this:
> 
>   # Loading post-auth {...}
>  /etc/raddb/sites-enabled/default[...]: Failed to find "return" in the "modules" section.
>  /etc/raddb/sites-enabled/default[...]: Failed to parse "return" entry.
>  /etc/raddb/sites-enabled/default[...]: Errors parsing post-auth section.
> 
> If I replace the return with a noop, no errors.  What am I missing now?

  Upgrade to a recent version of the server.

  Features which are undocumented are ones which probably don't work.

  Alan DeKok.




More information about the Freeradius-Users mailing list