1 .\" # DS - begin display
13 .TH rlm_files 5 "5 February 2004" "" "FreeRADIUS Module"
15 rlm_files \- FreeRADIUS Module
17 The \fIrlm_files\fP module uses the 'users' file for accessing
18 authorization information for users. Additionally, it supports
19 a 'users' file syntax to be applied to the accounting and pre-proxy
22 The main configuration items to be aware of are:
24 The filename of the 'users' file, which is parsed during the
25 authorization stage of this module.
27 The filename of the 'users' file, which is parsed during the
28 accounting stage of this module.
29 .IP preproxy_usersfile
30 The filename of the 'users' file, which is parsed during the
31 pre_proxy stage of this module.
33 This option allows FreeRADIUS to parse an old style Cistron syntax.
34 The default is 'no'. If you need to parse an old style Cistron
35 file, set this option to 'cistron'.
37 This option lets you set the attribute to use as a key to find
38 entries. The default is "%{Stripped-User-Name:-%{User-Name}}". Note
39 that the key MUST supply real data. Dynamic attributes like "Group"
40 will not work, because the "Group" attribute can only be used as a
41 comparison, to see if a user is in a Unix group. It will not return
42 the name of the Unix group that a user is in.
44 If you want to use groups as a key, see the \fIrlm_passed\fP, which
45 will create a real attribute that contains the group name.
47 This configuration entry enables you to have configurations that
48 perform per-group checks, and return per-group attributes, where the
49 group membership is dynamically defined by a previous module. It also
50 lets you do things like key off of attributes in the reply, and
51 express policies like like "when I send replies containing attribute
52 FOO with value BAR, do more checks, and maybe send additional
62 usersfile = %{confdir}/users
64 acctusersfile = %{confdir}/acct_users
66 preproxy_usersfile = %{confdir}/preproxy_users
70 key = %{Stripped-User-Name:-%{User-Name}}
85 .I /etc/raddb/radiusd.conf,
87 .I /etc/raddb/acct_users,
88 .I /etc/raddb/preproxy_users
95 Chris Parker, cparker@segv.org