howto reset rlm_sqlcounter

Bart van Daal B.Vandaal at edpnet.net
Thu Sep 22 13:50:17 CEST 2005


Hi All,

I'm authenticating users who can buy a specified amount of time to 
go online. I'm using the rlm_sqlcounter module with a reset=never
option because there is no specified amount of time in which users
have to use their  minutes.
A user can also buy additional minutes or when his minutes are depleted,
a new subscription.

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?
2. keep adding the minutes to the allready existing value for the
session-time.


I was wondering if there was an 'easy' way to reset the counter for a user.

thanks,
kind regards,
Bart van Daal

 

Bart van Daal
Network Operations

Van Landeghemstraat 20
9100 SINT-NIKLAAS
b.vandaal at edpnet.net
www.edpnet.be
T +32 (0)3 265 67 00
F +32 (0)3 265 67 01

 




More information about the Freeradius-Users mailing list