rlm_always(5) | FreeRADIUS Module | rlm_always(5) |
rlm_always - FreeRADIUS Module
The rlm_always module provides a simple way to "always" return a value during the processing of a configuration section.
The main configuration item is rcode, which sets the return code that this instantiation of the module will return. The default, if none specified, is 'fail'.
The valid options for rcode are as follows:
modules { ... # instantiate the "always" module with the name "ok" always ok {
# return code for this instantiation is "ok":
rcode = ok } ...
}
authorize { ... redundant { sql1 # try to find the user in sql1 sql2 # try to find the user in sql2 # the default here would be to fail, but... ok # if still not found, it's OK. } ...
}
authorization, authentication, postauthentication, preaccounting, accounting, preproxy, postproxy
/etc/freeradius/3.0/mods-available/always
radiusd(8), radiusd.conf(5), unlang(5)
Further details of how module return codes operate can be found at <http://wiki.freeradius.org/config/Fail-over>.
Chris Parker <cparker@segv.org>, Matthew Newton <matthew@newtoncomputing.co.uk>.
10 January 2015 |