On Tue, 18 Dec 2001, Aleksandr Kuzminsky wrote:

> On Tue, 18 Dec 2001, Kostas Kalevras wrote:
> 
> > No you can't. Why would you want to do something like that?
> I want to authorize users that allowed to spent some hours online,
> and no more. I'll calculate user's session total time using
> counters, so I don't want to reset counter.

OK.

> 
> I have idea to patch counter module adding reset parameter 'never'.
> Inside source code, I will add enough ladge value to data->reset_time
> (100 years, for example(it will cause Y2101 problem, but I'll
> be dead then ;) ))

I 'd prefer assigning data->reset_time = 0 to mean never. I 'll make the
necessary changes in a few hours.

--
kkalev

> 
> May be somebody knows more elegance method solving this case?
> 
> ---
> Aleksandr Kuzminsky,          AK476-RIPE
> System Administrator,         AK16-UANIC
> ISP NBI.
> 


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

Reply via email to