|
NAMErlm_files - FreeRADIUS ModuleDESCRIPTIONThe rlm_files module uses the 'users' file for accessing authorization information for users. Additionally, it supports a 'users' file syntax to be applied to the accounting and pre-proxy sections.The main configuration items to be aware of are:
If you want to use groups as a key, see the rlm_passwd, which will create a real attribute that contains the group name. This configuration entry enables you to have configurations that perform per-group checks, and return per-group attributes, where the group membership is dynamically defined by a previous module. It also lets you do things like key off of attributes in the reply, and express policies like "when I send replies containing attribute FOO with value BAR, do more checks, and maybe send additional attributes". CONFIGURATIONmodules { ... stuff here ... files { usersfile = %{confdir}/users acctusersfile = %{confdir}/acct_users preproxy_usersfile = %{confdir}/preproxy_users compat = no key = %{%{Stripped-User-Name}:-%{User-Name}} } ... stuff here ... SECTIONSauthorization, accounting, pre_proxyFILES/usr/local/share/examples/freeradius/raddb/radiusd.conf, /usr/local/share/examples/freeradius/raddb/users, /usr/local/share/examples/freeradius/raddb/acct_users, /usr/local/share/examples/freeradius/raddb/preproxy_usersSEE ALSOradiusd(8), radiusd.conf(5), users(5)AUTHORSChris Parker, cparker@segv.org
Visit the GSP FreeBSD Man Page Interface. |