how to force "Accept" and override default and null proxy realms?

Mike needacoder at
Sat Oct 21 08:30:52 CEST 2006

I would like to always send an Accept unconditionally if the User-Name
is test[0-9], but proxy request to default or null realm for all other
user names.

I tried a configuration with
authorize {
the "suffix" will match on default and null realms.  I currently have
a line in users file that looks like this:
DEFAULT User-Name =~ "test[0-9]", Auth-Type: Accept
however regardless of which user makes the request, even the "test"
user (which does match), the request is still proxied.  If I change
"Auth-Type: Reject", then the test user is always rejected, but I am
looking for the opposite behavior.

Thanks in advance for any help or pointers.

More information about the Freeradius-Users mailing list