configurable fail-over for policy virtual modules?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Jul 16 19:39:06 CEST 2014


On 16 Jul 2014, at 11:42, Zenon Mousmoulas <zmousm at noc.grnet.gr> wrote:

> Hi,
> 
> should it be possible to do this:
> 
> policy {
>  check_something {
>    if (Some-Attribute) {
>      noop
>    } else {
>      reject
>    }
>  }
> }
> 
> authorize {
>  check_something {
>    noop = return
>  }
> }
> 
> 2.x just gives a parser error, while 3.x also explains it failed to find "check_something" in the "modules" section.
> 
> Thanks in advance for any insight,
> Z.
> 

What would check_something be? Is it a module call? Or a condition or a subroutine?

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140716/85f80551/attachment.pgp>


More information about the Freeradius-Users mailing list