On Aug 29, 3:34pm, Gary wrote:
> Subject: Re: (RADIATOR) Auto-logoff at specific time i.e 18:00
> On Sun, 29 Aug 1999 13:00:31 +1000, tom minchin wrote:
>
> >On Sun, Aug 29, 1999 at 12:15:41PM +1000, Michael Dunne wrote:
> >> I would like to know if radiator can be set to accept connections from a
> >> specific time i.e 08:00 and then log those connections off at a specific
> >> time as well, i.e 18:00.
> >> I would prefer to do this via SQL, but if not, any other way would be
> >> acceptable. Also I would prefer this to be done by a seperate users
section.
> >> The only way I can do this at the moment is by writing a cron'ed perl
> >> script to do all this, but if Radiator could do this for me I would like
to
> >> know how.
> >> After reading the manual that is bundled with the distribution I could not
> >> see anything clearly that would allow me to do this.
> >
> >If your NAS can limit sessions to a certain time, when people login your
> >database can decide how long they go for and set the appropriate session
> >time (eg Session-Timeout or Ascend-Maximum-Time). Note that this is a
> >RADIUS feature and your NAS may well not support it (the NAS does the
> >actual disconnection - not Radiator).
> >
> >Otherwise, just stick with the perl script.
> >
> >[EMAIL PROTECTED]
>
>
> I think what Michael is asking is whether there is an easy way to
> calculate Session-Time according to the time of day.
This is a nice idea.
I have uploaded a new version of AuthGeneric.pm that understands a special
format of Session-Timeout:
Session-Timeout = until 1800
for example would compute a Session-Timeout in seconds until 6 pm. If its after
6pm, it will be 6pm the next day.
Download from
http://www.open.com.au/radiator/downloads/patches-2.14.1/AuthGeneric.pm
and let me know if it works for you.
Cheers.
>
> eg: normal max session is 3 hours (10800)
> but this user is restricted to to having their connection complete by
> say 18:00 and they ring in at 17:45 so their Session-time should now be
> equal to 15 minutes = 900 seconds
>
> In Michael's case the NAS does support session time or I suppose he
> wouldn't be asking :-) I think Ascend and tigris is the answer.....
> -------------------------------
> Ausmail
> Your virtual home on the net.
> Email, News & Home pages.
> -------------------------------
> Coming soon !!
>
>
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Gary
--
Mike McCauley [EMAIL PROTECTED]
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
Phone +61 3 9598-0985 Fax +61 3 9598-0955
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.