Scroll to navigation

rlm_always(5) FreeRADIUS Module rlm_always(5)

NAME

rlm_always - FreeRADIUS Module

DESCRIPTION

The rlm_always module provides a simple way to "always" return a value during the processing of a configuration section. The module does nothing other than return a configured value.

The main configuration item to be aware of is:

This module will always return with the rcode specified. The default, if none specified is: fail (RLM_MODULE_FAIL).

The valid options are:

RLM_MODULE_REJECT
RLM_MODULE_FAIL
RLM_MODULE_OK
RLM_MODULE_HANDLED
RLM_MODULE_INVALID
RLM_MODULE_USERLOCK
RLM_MODULE_NOTFOUND
RLM_MODULE_NOOP
RLM_MODULE_UPDATED

CONFIGURATION

modules {

...
always ok {
rcode = ok
}
...
}
...
authorize {
...
redundant {
sql1 # try to find the user in sql1
sql2 # try to find the user in sql2
ok # if still not found, it's OK.
}
...
}

SECTIONS

authorization, authentication, postauthentication, preaccounting, accounting, preproxy, postproxy

FILES

/etc/raddb/radiusd.conf

SEE ALSO

radiusd(8), radiusd.conf(5)

AUTHOR

Chris Parker, cparker@segv.org

3 February 2004