Re: howto reset rlm_sqlcounter

2005-09-23 Thread Bjørn Mork
Bart van Daal [EMAIL PROTECTED] writes: 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? It doesn't.

howto reset rlm_sqlcounter

2005-09-22 Thread Bart van Daal
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

Re: howto reset rlm_sqlcounter

2005-09-22 Thread Alan DeKok
Bart van Daal [EMAIL PROTECTED] 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

Re: howto reset rlm_sqlcounter

2005-09-22 Thread N White
Bart van Daal wrote: 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