Oddity with configurable failover

Alan DeKok aland at deployingradius.com
Fri Nov 9 15:13:49 CET 2012


Brian Candler wrote:
>  Module: Checking authorize {...} for more modules to load
> /etc/freeradius/sites-enabled/default[20]: Failed to find "mymodule" in the "modules" section.

  You can't over-ride the return codes of policies.  You can only do
this for real modules.

> Is configurable failover not available for user-defined modules?  (If so, I
> couldn't find this in doc/configurable_failover.rst )

  See "man unlang".  It might be there.

> What I'm actually trying to do is run a user-defined module up to 20 times,
> but stop after the first return of 'notfound' - without making a horrible
> 20-deep nested if statement.  It's not important to do it this way, but I
> was surprised I couldn't.

  I'd just nest it 20 times.  Or, use a Perl script.

  Alan DeKok.


More information about the Freeradius-Users mailing list