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_3_0_0_beta0~675 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=f2182f59e521268d6504710efae312db06d17bdd;p=freeradius.git Catch sub-realms && example.net, too --- diff --git a/raddb/proxy.conf b/raddb/proxy.conf index 90232e4..533bd74 100644 --- a/raddb/proxy.conf +++ b/raddb/proxy.conf @@ -800,11 +800,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 #}