]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Align sample configuration with rlm_files only having one filename
authorNick Porter <nick@portercomputing.co.uk>
Fri, 9 Feb 2024 09:24:06 +0000 (09:24 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 9 Feb 2024 14:55:20 +0000 (14:55 +0000)
raddb/mods-available/files
raddb/sites-available/default

index 57417b09448a230b7f7a6c9061b0c1ee9a1e3c2e..fb94218b49723d92f951a19c4ca69981bf658cde 100644 (file)
@@ -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
 }
index d04045958a4256d47a72052cfd48dadcc4781b57..ed602ea0b9b4dfb4f2e988b9626ac44f2a4d1378 100644 (file)
@@ -1371,9 +1371,9 @@ recv Accounting-Request {
        acct_unique
 
        #
-       #  Read the 'acct_users' file.
+       #  Read the 'accounting' file.
        #
-       files
+       files_accounting
 }
 
 #