problem with rlm_counter module when reset option is set to never
Ahmed Nifaz Faizabadi
ahmednifaz at gmail.com
Tue May 26 14:43:59 CEST 2009
Hi all,
Here is the issue I am facing with rlm_counter module.
I am using freeradius-server-2.1.4 and configuring Max session time
for each user.
for example:
user1 Max-Session-Time := 1800, Auth-Type := Reject
Reply-Message = "Your time limit is used"
user2 Max-Session-Time := 3600, Auth-Type := Reject
Reply-Message = "Your time limit is used"
and rlm_counter options are :
counter daily {
counter-name = Max-All-Session-Time
check-name = Max-All-Session
key = User-Name
reset = never
}
I am observing that the user accounting record is not deleted from
rlm_counter module once the user has used his allocated time. For
example when user1 has used 1800 seconds allocated to him then I will
be deleting the user from users config and then add the same user
back. I am getting the "Your time limit is used" message :(.
Does somebody has information about how to delete the records from
rlm_counter module once they are expired with reset-option set to
never.
Regards
Ahmed Nifaz
More information about the Freeradius-Users
mailing list