Updated
[freeradius.git] / man / man5 / rlm_always.5
1 .TH rlm_always 5 "3 February 2004" "" "FreeRADIUS Module"
2 .SH NAME
3 rlm_always \- FreeRADIUS Module
4 .SH DESCRIPTION
5 The \fIrlm_always\fP module provides a simple way to "always" return a
6 value during the processing of a configuration section.  The module
7 does nothing other than return a configured value.
8 .PP
9 .PP
10 The main configuration item to be aware of is:
11 .IP rcode
12 This module will always return with the rcode specified.  The
13 default, if none specified is: fail (RLM_MODULE_FAIL).
14 .PP
15 The valid options are:
16 .IP reject
17 RLM_MODULE_REJECT
18 .IP fail
19 RLM_MODULE_FAIL
20 .IP ok
21 RLM_MODULE_OK
22 .IP handled
23 RLM_MODULE_HANDLED
24 .IP invalid
25 RLM_MODULE_INVALID
26 .IP userlock
27 RLM_MODULE_USERLOCK
28 .IP notfound
29 RLM_MODULE_NOTFOUND
30 .IP noop
31 RLM_MODULE_NOOP
32 .IP updated
33 RLM_MODULE_UPDATED
34 .SH CONFIGURATION
35 .DS
36 modules {
37   ...
38 .br
39   always ok {
40 .br
41         rcode = ok
42 .br
43   }
44 .br
45   ...
46 .br
47 }
48 .br
49  ...
50 .br
51 authorize {
52   ...
53 .br
54   redundant {
55      sql1          # try to find the user in sql1
56 .br
57      sql2          # try to find the user in sql2
58 .br
59      ok            # if still not found, it's OK.
60 .br
61   }
62   ...
63 .br
64 }
65 .DE
66 .PP
67 .SH SECTIONS
68 .BR authorization,
69 .BR authentication,
70 .BR postauthentication,
71 .BR preaccounting,
72 .BR accounting,
73 .BR preproxy,
74 .BR postproxy
75 .PP
76 .SH FILES
77 .I /etc/raddb/radiusd.conf
78 .PP
79 .SH "SEE ALSO"
80 .BR radiusd (8),
81 .BR radiusd.conf (5)
82 .SH AUTHOR
83 Chris Parker, cparker@segv.org