Re: Wait period between sessions

This is a discussion on Re: Wait period between sessions within the FreeRADIUS Users forums, part of the Networking and Network Related category; Cory Robson wrote: > I have a user group that is only allowed 3hr session times (easily resolved > with ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2007
Alan DeKok
 
Posts: n/a
Default Re: Wait period between sessions

Cory Robson wrote:
> I have a user group that is only allowed 3hr session times (easily resolved
> with sql counter module) with a 15 minute wait period between sessions.
>
> Has anyone written a module or know of a way to implement this wait period.


A shell script would work.

> I was thinking something similar to a module based around the sql max
> session module only query the sql backend for the last time connected and if
> the period is less than set variable (15 mins in my case) then reject access
> with an error message like "Wait Period Enforced"


Or, update the SQL query for Acct-Status-Type == Stop. Have it insert
another field, saying when the user can next login. On login, check
that field.

I think you can do this without writing a module.

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0