X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=raddb%2Facct_users;h=fafac849a0f0519cdaf7acf2ef51c8b36a5a6255;hb=HEAD;hp=8e15d018fe9ede1eb1451e0aef9bac2801833417;hpb=6c7183010d5227184d1c95d278e354cec4f6cfb2;p=freeradius.git diff --git a/raddb/acct_users b/raddb/acct_users index 8e15d01..fafac84 100644 --- a/raddb/acct_users +++ b/raddb/acct_users @@ -4,13 +4,20 @@ # This is like the 'users' file, but it is processed only for # accounting packets. # -#DEFAULT Acct-Status-Type == Start -# Exec-Program = "/path/to/exec/acct/start" + +# 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. # -#DEFAULT Acct-Status-Type == Stop -# Exec-Program = "/path/to/exec/acct/stop" +#DEFAULT Realm == "foo.net", Acct-Type := sql_log.foo # -# For information on how the attributes from the request are passed -# to the program, see 'doc/variables.txt' +#DEFAULT Huntgroup-Name == "wifi", Acct-Type := sql_log.wifi # +#DEFAULT Client-IP-Address == 10.0.0.1, Acct-Type := sql_log.other # +#DEFAULT Acct-Status-Type == Start, Acct-Type := sql_log.start + +# Replace the User-Name with the Stripped-User-Name, if it exists. +# +#DEFAULT +# User-Name := "%{Stripped-User-Name:-%{User-Name}}"