From: Alan T. DeKok Date: Mon, 15 Aug 2011 13:20:45 +0000 (-0400) Subject: Catch sub-realms && example.net, too X-Git-Tag: release_2_1_12~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f438c5cb083de503e27fa9a83c8fb7be1e5e4af9;p=thirdparty%2Ffreeradius-server.git Catch sub-realms && example.net, too --- diff --git a/raddb/proxy.conf b/raddb/proxy.conf index 7ce9a405964..413fc1438f2 100644 --- a/raddb/proxy.conf +++ b/raddb/proxy.conf @@ -748,11 +748,12 @@ realm LOCAL { # that the realm ENDS with the domain name, so it does not match # realms with the domain name in the middle. e.g. "~.*\\.example\\.net" # will match "test.example.netFOO", which is likely not what you want. -# Using "~.*\\.example\\.net$" is better. +# Using "~(.*\\.)example\\.net$" is better. # # The more regex realms that are defined, the more time it takes to # process them. You should define as few regex realms as possible # in order to maximize server performance. # -#realm "~.*\\.example\\.net$" { +#realm "~(.*\\.)*example\\.net$" { +# auth_pool = my_auth_failover #}