From: Nick Porter Date: Fri, 9 Feb 2024 09:24:06 +0000 (+0000) Subject: Align sample configuration with rlm_files only having one filename X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bd4c37bd1885852dc60fdb53082899c0e21f9cb;p=thirdparty%2Ffreeradius-server.git Align sample configuration with rlm_files only having one filename --- diff --git a/raddb/mods-available/files b/raddb/mods-available/files index 57417b09448..fb94218b497 100644 --- a/raddb/mods-available/files +++ b/raddb/mods-available/files @@ -33,26 +33,13 @@ files { # # filename:: The old `users` style file is now located here. # - # If no other filenames are specified, the module uses this file. - # filename = ${moddir}/authorize +} - - # - # Optional files - # - # The following filenames are optional. - # - - # recv_filename:: The file to run in any "recv" section -# recv_filename = ${moddir}/recv - - # send_filename:: The file to run in any "send" section -# send_filename = ${moddir}/send - - # auth_filename:: The file to run in any "authenticate" section -# auth_filename = ${moddir}/authenticate - - # acct_filename:: The file to run in any "recv Accounting-Request" section -# acct_filename = ${moddir}/accounting +# +# ## An instance of the `files` module for use in processing accounting packets +# +files files_accounting { +# key = "%{&Stripped-User-Name || &User-Name}" + filename = ${modconfdir}/files/accounting } diff --git a/raddb/sites-available/default b/raddb/sites-available/default index d04045958a4..ed602ea0b9b 100644 --- a/raddb/sites-available/default +++ b/raddb/sites-available/default @@ -1371,9 +1371,9 @@ recv Accounting-Request { acct_unique # - # Read the 'acct_users' file. + # Read the 'accounting' file. # - files + files_accounting } #