]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Move "second_files" to its own file
authorAlan T. DeKok <aland@freeradius.org>
Sun, 17 Mar 2013 03:38:28 +0000 (23:38 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 17 Mar 2013 03:38:28 +0000 (23:38 -0400)
raddb/mods-available/files
raddb/mods-available/second_files [new file with mode: 0644]

index 55546caf843245d6749a89f93b0445349cd9e67a..6275b6ac35aabeaa4750295d38fc7f9d02ba017d 100644 (file)
@@ -20,27 +20,3 @@ files {
        #  file from Cistron.
        compat = no
 }
-
-#  An example which defines a second instance of the "files" module.
-#  This instance is named "second_files".  In order for it to be used
-#  in a virtual server, it needs to be listed as "second_files"
-#  inside of the "authorize" section (or other section).  If you just
-#  list "files", that will refer to the configuration defined above.
-#
-
-#  The two names here mean:
-#      "files" - this is a configuration for the "rlm_files" module
-#      "second_files" - this is a named configuration, which isn't
-#                      the default configuration.
-files second_files {
-       #key = "%{Stripped-User-Name:-%{User-Name}}"
-
-       #  The names here don't matter.  They just need to be different
-       #  from the names for the "files" configuration above.  If they
-       #  are the same, then this configuration will end up being the
-       #  same as the one above.
-       usersfile = ${confdir}/second_users
-       acctusersfile = ${confdir}/second_acct_users
-       preproxy_usersfile = ${confdir}/second_preproxy_users
-}
-
diff --git a/raddb/mods-available/second_files b/raddb/mods-available/second_files
new file mode 100644 (file)
index 0000000..8cc8f10
--- /dev/null
@@ -0,0 +1,27 @@
+# -*- text -*-
+#
+#  $Id$
+
+#  An example which defines a second instance of the "files" module.
+#  This instance is named "second_files".  In order for it to be used
+#  in a virtual server, it needs to be listed as "second_files"
+#  inside of the "authorize" section (or other section).  If you just
+#  list "files", that will refer to the configuration defined above.
+#
+
+#  The two names here mean:
+#      "files" - this is a configuration for the "rlm_files" module
+#      "second_files" - this is a named configuration, which isn't
+#                      the default configuration.
+files second_files {
+       #key = "%{Stripped-User-Name:-%{User-Name}}"
+
+       #  The names here don't matter.  They just need to be different
+       #  from the names for the "files" configuration above.  If they
+       #  are the same, then this configuration will end up being the
+       #  same as the one above.
+       usersfile = ${confdir}/second_users
+       acctusersfile = ${confdir}/second_acct_users
+       preproxy_usersfile = ${confdir}/second_preproxy_users
+}
+