On Thu, 22 Sep 2016 14:23:36 +0000 Alan DeKok <aland@deployingradius.com> wrote:
There's a "return" statement.
if (ok) { return }
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? John
On Sep 22, 2016, at 10:50 AM, John Kristoff <jtk@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.
participants (2)
-
Alan DeKok -
John Kristoff