Add mods-available/enabled
[freeradius.git] / raddb / mods-available / files
1 # -*- text -*-
2 #
3 #  $Id$
4
5 # Livingston-style 'users' file
6 #
7 files {
8         # The default key attribute to use for matches.  The content
9         # of this attribute is used to match the "name" of the
10         # entry.
11         #key = "%{Stripped-User-Name:-%{User-Name}}"
12
13         usersfile = ${confdir}/users
14         acctusersfile = ${confdir}/acct_users
15         preproxy_usersfile = ${confdir}/preproxy_users
16
17         #  If you want to use the old Cistron 'users' file
18         #  with FreeRADIUS, you should change the next line
19         #  to 'compat = cistron'.  You can the copy your 'users'
20         #  file from Cistron.
21         compat = no
22 }
23
24 #  An example which defines a second instance of the "files" module.
25 #  This instance is named "second_files".  In order for it to be used
26 #  in a virtual server, it needs to be listed as "second_files"
27 #  inside of the "authorize" section (or other section).  If you just
28 #  list "files", that will refer to the configuration defined above.
29 #
30
31 #  The two names here mean:
32 #       "files" - this is a configuration for the "rlm_files" module
33 #       "second_files" - this is a named configuration, which isn't
34 #                       the default configuration.
35 files second_files {
36         #key = "%{Stripped-User-Name:-%{User-Name}}"
37
38         #  The names here don't matter.  They just need to be different
39         #  from the names for the "files" configuration above.  If they
40         #  are the same, then this configuration will end up being the
41         #  same as the one above.
42         usersfile = ${confdir}/second_users
43         acctusersfile = ${confdir}/second_acct_users
44         preproxy_usersfile = ${confdir}/second_preproxy_users
45 }
46