NULL realm reject

Alan DeKok aland at deployingradius.com
Mon Jul 5 13:00:05 CEST 2010


Velpi wrote:
> is it possible to configure an instant reject for a certain realm 

  Yes.

> (in proxy.conf)?

  No.

  The "proxy.conf" file defines realms, home servers, etc.  It contains
no directives for processing requests.

> I'd like to set this for the NULL realm to disable
> usernames without a suffix. (any other suggestion to accomplish this is
> welcomed too!)

  You can put this into the "authorize" section, after the "realm" modules:

	if (Realm == NULL) {
		reject
	}

  Alan DeKok.



More information about the Freeradius-Users mailing list