I have installed the latest snapshot of freeRadius and I am using mySQL for
AAA. I would also like to limit the online time for all users. Here is a
part of 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-Time
allowed-servicetype = Framed-User
cache-size = 5000
}
I have also inserted a "counter" into Authorization, Accounting parts of the
file. In radius database I have these records for the counter:
Username Attribute Value op
--------------------------------------------
UserName Daily-Session-Time 120 >
UserName Auth-Type Reject =
--------------------------------------------
I start radius with "-X" and when a user calls in I receive these messages
about counter:
modcall: entering group authorize
rlm_counter: Entering module authorize code
rlm_counter: Could not find Check item value pair
modcall[authorize]: module "counter" returns noop
The Accounting procedure returns ok. I can't understand what I do wrong.
Please help
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html