1 .TH vmpsd.conf 5 "28 May 2007" "" "FreeRADIUS VMPSd configuration file"
3 vmpsd.conf \- configuration file for the VMPSd server
5 The \fBvmpsd.conf\fP file resides in the \fB/etc/raddb\fP directory.
6 It defines the global configuration for the VMPSd server.
8 The file is very similar in form to that of the \fBradiusd.conf\fP, as
9 the vmps server is really a RADIUS server that also handles VMPS.
11 This documentation page explains the VMPS-specific portions of the
12 configuration file, and how those portions differ from a
13 \fBradiusd.conf\fP file.
14 .SH VMPS CONFIGURATION
15 When a VMPS request is received by the server, it is processed through
16 a "vmps" section. In RADIUS, requests are processed through
17 "authorize", "authenticate", etc.
31 Proxying of requests is supported, as are the "pre-proxy" and
32 "post-proxy" sections. However, any VMPS requests will be proxied as
33 RADIUS packets, and not VMPS packets. This is because the server is
34 still, at heart, a RADIUS server.
36 There are a large number of configuration parameters for the server.
37 Most are documented in the file itself as comments. This page
38 documents only the format of the file. Please read the
39 \fBvmpsd.conf\fP file itself for more information.
41 The configuration file parser is independent of the server
42 configuration. This means that you can put almost anything into the
43 configuration file. So long as it is properly formatted, the server
46 When the server parses the configuration file, it looks only for those
47 configurations it understands. Extra configuration items are ignored.
48 This "feature" can be (ab)used in certain interesting ways.
50 The file format is line-based, like many other Unix configuration
51 files. Each entry in the file must be placed on a line by itself,
52 although continuations are supported.
54 The file consists of configuration items (variable = value pairs),
55 sections, and comments.
57 Variables can be set via:
64 Single and double-quoted strings are permitted:
68 string1 = "hello world"
73 A section begins with a section name, followed on the same line by an
74 open bracket '\fB{\fP'. Section may contain other sections, comments, or
75 variables. Sections may be nested to any depth, limited
76 only by available memory. A section ends with a close bracket
77 '\fB}\fP', on a line by itself.
88 Sections can sometimes have a second name following the first one.
89 The situations where this is legal depend on the context. See the
90 examples and comments in the \fBvmpsd.conf\fP file for more
102 Any line beginning with a (\fB#\fP) is deemed to be a comment, and is
103 ignored. Comments can appear after a variable or section definitions.
109 foo = bar # set variable 'foo' to value 'bar'
111 section { # start of section
118 Long lines can be broken up via continuations, using '\\' as the last
119 character of the line. For example, the following entry:
130 will set the value of the variable "foo" to "blah blah blah". Any CR
131 or LF is not turned into a space, but all other whitespace is
132 preserved in the final value.
134 The value of a variable can reference another variable. These
135 references are evaluated when the configuration file is loaded, which
136 means that there is no run-time cost associated with them. This
137 feature is most useful for turning long, repeated pieces of text into
140 Variables are referenced by ${variable_name}, as in the following examples.
143 foo = bar # set variable 'foo' to value 'bar'
145 who = ${foo} # sets variable 'who' to value of variable 'foo'
147 my = "${foo} a" # sets variable 'my' to "bar a"
150 If the variable exists in a section or subsection, it can be
151 referenced as ${section.subsection.variable}. Forward references are
152 not allowed. Relative references are allowed, by pre-pending the name
153 with one or more period.
159 Will set variable \fBblogs\fP to the value of variable \fBfoo\fP,
160 from the current section.
166 Will set variable \fBblogs\fP to the value of variable \fBfoo\fP, from the
167 section which contains the current section.
170 blogs = ${modules.detail.detailfile}
173 Will set variable \fBblogs\fP to the value of variable \fBdetailfile\fP,
174 of the \fBdetail\fP module, which is in the \fBmodules\fP section of
175 the configuration file.
177 /etc/raddb/vmpsd.conf
182 Alan DeKok <aland@deployingradius.com>