freeradius accounting disable
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Sun Dec 1 22:49:30 CET 2013
On 1 Dec 2013, at 21:24, scolamariano at tiscali.it wrote:
> hello, it is possible to disable accounting functionality only for a specific user?
# master/3.0.1 only
preacct {
if (User-Name == 'foobar') {
update control {
Response-Packet-Type := Accounting-Response
}
handled
}
<preacct logic>
}
# Older versions
preacct {
if (User-Name == 'foobar') {
update control {
Acct-Type := drop
}
}
else {
<preacct logic>
}
}
accounting {
# Logic here will not be run
Acct-Type drop {
ok
}
}
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team
More information about the Freeradius-Users
mailing list