howto reset rlm_sqlcounter

Bart van Daal B.Vandaal at edpnet.net
Fri Sep 23 09:10:27 CEST 2005


thanks for your reply Alan,

I didn't mean the max-all-sessions value but the actual counter value.
If a user has 15600seconds of online time ad is online for e.g. 3600
seconds, 
where do these 3600 seconds get stored with rlm_sqlcounter?

thanks,
kind regards,
Bart van Daal



-----Original Message-----
From: Alan DeKok [mailto:aland at ox.org] 
Sent: donderdag 22 september 2005 19:36
To: FreeRadius users mailing list
Subject: Re: howto reset rlm_sqlcounter 

Bart van Daal <B.Vandaal at edpnet.net> wrote:
> two possible options I think of to reset the counter are:
> 1. write a program to manipulate the gdbm file. Where is this file stored?

  If you're using rlm_sqlcounter, it's not in a GDBM file.  It's in SQL.

  If you're using rlm_counter, the location of the GDBM file is set in the
configuration file.

> 2. keep adding the minutes to the allready existing value for the 
> session-time.

  You can't do that.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list