28 lines
836 B
Text
28 lines
836 B
Text
|
#
|
||
|
# $Id: eaf952a72dc9d19387af4d2056d7f7027b2435e8 $
|
||
|
#
|
||
|
# This is like the 'users' file, but it is processed only for
|
||
|
# accounting packets.
|
||
|
#
|
||
|
|
||
|
# Select between different accounting methods based for example on the
|
||
|
# Realm, the Huntgroup-Name or any combinaison of the attribute/value
|
||
|
# pairs contained in an accounting packet.
|
||
|
#
|
||
|
# You will need to add an "Acct-Type foo {...}" subsection to the
|
||
|
# main "accounting" section in order for these sample configurations
|
||
|
# to work.
|
||
|
#
|
||
|
#DEFAULT Realm == "foo.net", Acct-Type := foo
|
||
|
#
|
||
|
#DEFAULT Huntgroup-Name == "wifi", Acct-Type := wifi
|
||
|
#
|
||
|
#DEFAULT Client-IP-Address == 10.0.0.1, Acct-Type := other
|
||
|
#
|
||
|
#DEFAULT Acct-Status-Type == Start, Acct-Type := start
|
||
|
|
||
|
# Replace the User-Name with the Stripped-User-Name, if it exists.
|
||
|
#
|
||
|
#DEFAULT
|
||
|
# User-Name := "%{%{Stripped-User-Name}:-%{User-Name}}"
|