Re: (RADIATOR) HOw to increase time limits

1999-07-28 Thread Hugh Irvine


Hello Ryan -

On Thu, 29 Jul 1999, ryanm wrote:
> Hi Hugh,
> 
> How exactly could this be accomplished?? I am looking at 6.12.10 and
> wondering how if the user exists in my full-access file I can pass
> back a different Session-Timeout if it is between 12 a.m. and
> 6 a.m. Any ideas or suggestions?? If you have an example that would
> be very helpful.
> 

What I would suggest is that your PostAuthHook function check the local
time and based on that, return a reply item Session-Timeout of 2 hours between
6am and midnight, and a Session-Timeout of 4 hours otherwise. Note that
Session-Timeout is implemented differently (or not all) on different platforms,
so you should do some checking first to make sure that this will do what you
want. If Session-Timeout doesn't do the job, then you will have to resort to
some form of periodic scan of your online users and forcibly terminate sessions
that reach their limit.

hth

Hugh

--
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, Rhapsod


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



Re: (RADIATOR) HOw to increase time limits

1999-07-27 Thread Hugh Irvine


Hello Ryan -

At 1:30 AM 28/7/99, ryanm wrote:
>I am curious if Radiator can handle this internally or if I need
>to continue using a cron job. I want my user's to have 2 hour session
>limits from 8 a.m. to 12 p.m. and 4 hour time limits from 12 p.m.
>till 8 a.m. We presently use Merit RADIUS, and have a cron job setup
>to increase/decrease time limits at selected times. Can I do this
>through a config file??
>

Probably the best way to do this is with a PostAuthHook Perl function (see
Section 6.12.10 on page 32 of the manual).

The function will be called after your AuthBy clauses, and you will be able
to do whatever is necessary.

hth

Hugh


--
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.



===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.



(RADIATOR) HOw to increase time limits

1999-07-27 Thread ryanm

I am curious if Radiator can handle this internally or if I need
to continue using a cron job. I want my user's to have 2 hour session 
limits from 8 a.m. to 12 p.m. and 4 hour time limits from 12 p.m. 
till 8 a.m. We presently use Merit RADIUS, and have a cron job setup
to increase/decrease time limits at selected times. Can I do this
through a config file??

Thanks for any information,

Ryan

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.