From: Alan T. DeKok Date: Sun, 17 Mar 2013 03:38:28 +0000 (-0400) Subject: Move "second_files" to its own file X-Git-Tag: release_3_0_0_beta1~718 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36e601a85b8257a8829196c6007f72c13e97fdf9;p=thirdparty%2Ffreeradius-server.git Move "second_files" to its own file --- diff --git a/raddb/mods-available/files b/raddb/mods-available/files index 55546caf843..6275b6ac35a 100644 --- a/raddb/mods-available/files +++ b/raddb/mods-available/files @@ -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 index 00000000000..8cc8f1074c6 --- /dev/null +++ b/raddb/mods-available/second_files @@ -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 +} +