~ubuntu-branches/ubuntu/dapper/freeradius/dapper-updates

« back to all changes in this revision

Viewing changes to man/man5/rlm_always.5

  • Committer: Bazaar Package Importer
  • Author(s): Paul Hampson
  • Date: 2004-12-29 20:19:42 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041229201942-uj2e95la965uthc7
Tags: 1.0.1-2
* freeradius-dialupadmin Suggests php4-mysql | php4-pgsql
   Closes: #279419
* Added a two-second pause to restart in init.d script
   Closes: #262635
* FreeRADIUS module packages now depend on the same source
  version of the main FreeRADIUS package.
   Closes: #284353
* FreeRADIUS-dialupadmin's default paths in admin.conf are
  now correct.
   Closes: #280942
* FreeRADIUS-dialupadmin's help.php3 can now find README.
   Closes: #280941
* Fixes stolen from 1.0.2 CVS:
  - Bug fix to make udpfromto code work
  - radrelay shouldn't dump core if it can't read a VP from the
    detail file.
  - Only initialize the random pool once.
  - In rlm_sql, don't escape characters twice.
  - In rlm_ldap, only claim Auth-Type if a plain text password is present.
  - Locking fixes in threading code
  - Fix building on gcc-4.0 by not trying to access static auth_port from
    other files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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