Hi,
i've succesfull use freeradius 0.8 with counter module, and
reset=never, but after some weeks, my server was restarted, and i've
see that the counter was reinitiated with 0 for all users.
Than, i've tested my self, and after i make a freeradius stop and
start, the counter was reset again.
is this a bug or a bad configuration?
if it's bad config, can you advise, please?
this is my config:
counter counternever {
filename = ${raddbdir}/db.never
key = User-Name
count-attribute = Acct-Session-Time
reset = never
counter-name = RAD-Session-Time
check-name = RAD-Max-Session-Time
allowed-servicetype = Framed-User
cache-size = 5000
}
counter countermonthly {
filename = ${raddbdir}/db.monthly
key = User-Name
count-attribute = Acct-Session-Time
reset = monthly
counter-name = RAD-Monthly-Session-Time
check-name = RAD-Max-Monthly-Session-Time
allowed-servicetype = Framed-User
cache-size = 5000
}
authorize {
preprocess
# chap
# mschap
# countermonthly
# attr_filter
# eap
# suffix
files {
fail = 1
notfound = 2
ok = return
}
sql
counternever
countermonthly
# etc_smbpasswd
# ldap
}
authenticate {
}
preacct {
}
accounting {
# acct_unique
# detail
counternever
countermonthly
# unix # wtmp file
radutmp
sradutmp
sql
}
session {
radutmp
sql
}
post-auth {
}
--
Remus
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html