/usr/share/doc/freeradius/Post-Auth-Type is in freeradius 2.1.10+dfsg-3ubuntu0.12.04.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | This is now called Post-Auth-Type, for consistency.
O.INTRODUCTION
Post-Auth-Type is used to select between groupings of
modules in the post-auth stanza using arbitrary attributes.
It is functionally identical to Acct-Type, apart from
the name of the attribute and its dealing with rejected
requests.. This means that (unlike Autz-Type) the attribute
must be set before the stanza is run. Changes to
Post-Auth-Type during post-auth will have no effect.
1.HOW IT WORKS
If a request has been rejected, the value of Post-Auth-Type
is overwritten with REJECT automatically, so anonymous
modules outside the REJECT substanza will not be run, only
modules within the appropriate substanza will be run.
2.EXAMPLES
In the example below, when a request has been rejected, the
module my_ippool will not be run, only the module my_detail
will be run.
If the request is not rejected, the my_ippool module will be
run, but not the my_detail module
post-auth {
my_ippool
Post-Auth-Type REJECT {
my_detail
}
}
In the following example, 2 different sql modules are used
to store accepted requests and rejected requests.
post-auth {
my_sql_accept
Post-Auth-Type REJECT {
my_sql_reject
}
}
|