Rejecting auth from a specific realm
tnt at kalik.net
tnt at kalik.net
Wed Nov 25 01:05:45 CET 2009
>> And how does your if statement look like? It should be something like:
>
> Looks pretty much exactly like Ana's email except I've substituted 'your'
> and 'realm'
>
> if ("%{Realm}" == /your\.realm$/) {
> update control {
> Auth-Type = Reject
> }
> }
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.
Ivan Kalik
More information about the Freeradius-Users
mailing list