Daily Accounting - 3 days account?
Hey everyone, I've seen that there's a Max-All-Session, Daily, Weekly and Monthly even. I need to limit the user for a 3days period. How do I accomplish that? Thank you. Liran.
liran tal wrote:
Hey everyone,
I've seen that there's a Max-All-Session, Daily, Weekly and Monthly even. I need to limit the user for a 3days period. How do I accomplish that?
In what context? There's rlm_counter, which can do this. See it's documentation/config for details. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
I am indeed talking about the rlm_counter module - that's the module that provides me with features like max-all-session and max-daily-session (that or sql_counter, I can't remember but that's a matter of semantics anyway). To get to my point again - just like there's max-daily-session is it possible to have a max-threedays-session module? is it something I can easily change in the sql code of the module maybe? Thanks On 1/11/07, Alan DeKok <aland@deployingradius.com> wrote:
liran tal wrote:
Hey everyone,
I've seen that there's a Max-All-Session, Daily, Weekly and Monthly even. I need to limit the user for a 3days period. How do I accomplish that?
In what context? There's rlm_counter, which can do this. See it's documentation/config for details.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
liran tal wrote:
I am indeed talking about the rlm_counter module - that's the module that provides me with features like max-all-session and max-daily-session (that or sql_counter, I can't remember but that's a matter of semantics anyway).
Please be clear about what you're doing. It DOES make a difference.
To get to my point again - just like there's max-daily-session is it possible to have a max-threedays-session module? is it something I can easily change in the sql code of the module maybe?
For rlm_counter: 'reset = 3d". For rlm_sqlcounter: You can't do it. The patch to fix this should be small, though. See? Knowing which module you're using DOES make a difference in the answer. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
participants (2)
-
Alan DeKok -
liran tal