Catch sub-realms && example.net, too
authorAlan T. DeKok <aland@freeradius.org>
Mon, 15 Aug 2011 13:20:45 +0000 (09:20 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 15 Aug 2011 13:26:53 +0000 (09:26 -0400)
raddb/proxy.conf

index 90232e4..533bd74 100644 (file)
@@ -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
 #}