File: Post-Auth-Type

package info (click to toggle)
freeradius 1.0.2-4sarge3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 9,792 kB
  • ctags: 6,980
  • sloc: ansic: 52,618; sh: 9,731; php: 5,764; perl: 2,309; makefile: 1,056; sql: 730; python: 159; tcl: 33; sed: 23
file content (23 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
This is now called Post-Auth-Type, for consistency.

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.

If a request has been rejected, the value of Post-Auth-Type
is overwritten with REJECT automatically, so anonymous
modules like my_ippool below will not be run, only
modules like my_detail below in the appropriate substanza
will be run.

post-auth {
	my_ippool

	Post-Auth-Type REJECT {
		my_detail
	}
}