Rejecting auth from a specific realm

Ben Carbery ben.carbery at gmail.com
Wed Nov 25 01:15:02 CET 2009


All I am trying to do is reject auth requests from a specific realm.

http://wiki.freeradius.org/Operators
>
> I am not sure what are you trying to do. If you are trying to match regex
> then use a proper operator. And if you are trying to do an exact match
> than right side should be a string not regex. And use just "Realm" on the
> left.
>
> So something like? This gives the same error.

if (Realm == your.realm)  {
    update control {
        Auth-Type = Reject
    }
}

Where is the syntax for flow control like 'if' documented?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091125/0898e9a8/attachment.html>


More information about the Freeradius-Users mailing list