On Thu, 9 Jan 2003, Duane Barnes wrote:
> Maybe I'm not understanding. Here is a snippet from my radiusd.conf file:
> counter {
> filename = ${raddbdir}/db.counter
> key = User-Name
> count-attribute = Acct-Session-Time
> reset = daily
> counter-name = Daily-Session-Time
> check-name = Max-Daily-Session
> counter-name = Weekly-Session-Time
> check-name = Max-Weekly-Session
> allowed-servicetype = Framed-User
> cache-size = 5000
> }
>
No:
counter daily {
filename = ${raddbdir}/db.daily
key = User-Name
count-attribute = Acct-Session-Time
reset = daily
counter-name = Daily-Session-Time
check-name = Max-Daily-Session
allowed-servicetype = Framed-User
cache-size = 5000
}
counter weekly {
filename = ${raddbdir}/db.weekly
key = User-Name
count-attribute = Acct-Session-Time
reset = weekly
counter-name = Weekly-Session-Time
check-name = Max-Weekly-Session
allowed-servicetype = Framed-User
cache-size = 5000
}
[...]
instantiate {
daily
weekly
}
[...]
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED] National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html