| 4 |
- |
1 |
#
|
| 34 |
- |
2 |
# $Id: fafac849a0f0519cdaf7acf2ef51c8b36a5a6255 $
|
| 4 |
- |
3 |
#
|
|
|
4 |
# This is like the 'users' file, but it is processed only for
|
|
|
5 |
# accounting packets.
|
|
|
6 |
#
|
|
|
7 |
|
|
|
8 |
# Select between different accounting methods based for example on the
|
|
|
9 |
# Realm, the Huntgroup-Name or any combinaison of the attribute/value
|
|
|
10 |
# pairs contained in an accounting packet.
|
|
|
11 |
#
|
|
|
12 |
#DEFAULT Realm == "foo.net", Acct-Type := sql_log.foo
|
|
|
13 |
#
|
|
|
14 |
#DEFAULT Huntgroup-Name == "wifi", Acct-Type := sql_log.wifi
|
|
|
15 |
#
|
|
|
16 |
#DEFAULT Client-IP-Address == 10.0.0.1, Acct-Type := sql_log.other
|
|
|
17 |
#
|
|
|
18 |
#DEFAULT Acct-Status-Type == Start, Acct-Type := sql_log.start
|
|
|
19 |
|
|
|
20 |
# Replace the User-Name with the Stripped-User-Name, if it exists.
|
|
|
21 |
#
|
|
|
22 |
#DEFAULT
|
|
|
23 |
# User-Name := "%{Stripped-User-Name:-%{User-Name}}"
|