#  -*- text -*-
#
#
#  $Id: fb94218b49723d92f951a19c4ca69981bf658cde $

#######################################################################
#
#  = Files Module
#
#  The `users` file as located in `raddb/mods-config/files/authorize`. (Livingston-style format).
#
#  See the doc/antora/modules/raddb/pages/mods-config/files/users.adoc file documentation for information
#  on the format of the input file, and how it operates.
#

#
#  ## Configuration Settings
#
files {
	#
	#  moddir:: Search for files in a subdirectory of mods-config which
	#  matches this instance of the files module.
	#
	moddir = ${modconfdir}/${.:instance}

	#
	#  key:: The default key attribute to use for matches.
	#
	#  The content of this attribute is used to match the `name` of the entry.
	#
#	key = "%{&Stripped-User-Name || &User-Name}"

	#
	#  filename:: The old `users` style file is now located here.
	#
	filename = ${moddir}/authorize
}

#
#  ## 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
}
