Mike Diggins wrote:
> I couldn't find an answer to this question in the Archives. I have a
> FreeRadius Server (2.1.3) and would like it to reject *any* user that
> attempts login with a realm (u...@realm.com for example). I thought I
> could do something like this in the user file:
> 
> DEFAULT Realm == "NULL", Auth-Type := Reject
> 
> But it doesn't work. What's the best way to do this?

  Regex?

authorize {
        ...

        if (User-Name !~ /@/) {
                reject
        }

        suffix
        ...
}

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to