RE: (RADIATOR) Limited time interval and limited duration

2000-02-18 Thread Hugh Irvine


Hello Lufti -

On Sat, 19 Feb 2000, Lutfi YUNUSOGLU wrote:
> 
> Hi
> I know this attribute but is not enough for me. My user profile is: 
> Users are allowed to connect between 0800 and 1800, and their total
> sessiontime for one month can't be greater than 30 hours (30*24*60*60
> seconds)
> 

If you are using AuthBy SQL, you can calculate the user's total session time
and then compare the number of seconds to 1800 and return whichever is less as
the Session-Timeout. Note that there is some commented code in
Radius/AuthSQL.pm that can already do some of this for you.

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.



RE: (RADIATOR) Limited time interval and limited duration

2000-02-18 Thread Lutfi YUNUSOGLU
Title: RE: (RADIATOR) Limited time interval and limited duration





Hi
I know this attribute but is not enough for me. My user profile is: 
Users are allowed to connect between 0800 and 1800, and their total sessiontime for one month can't be greater than 30 hours (30*24*60*60 seconds)

So maybe I can use Ascend-Maximum-Time and Session-Timeout together.


Regards
Lutfi


PS: I'm using Cisco AS5300


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Hugh Irvine
Sent: Friday, February 18, 2000 12:26 PM
To: Lutfi YUNUSOGLU; [EMAIL PROTECTED]
Cc: Tuncay MARGILIC
Subject: Re: (RADIATOR) Limited time interval and limited duration




Hello Lufti -


On Fri, 18 Feb 2000, Lutfi YUNUSOGLU wrote:
> 
> Hi,
> I want to create some users which can connect for example between 8:00 and
> 18:00 in a month everyday but total time in month should be maximum 10
> hours. 
> Time interval is easy and works fine. But for totalsession I have problems.
> Cause I can't use until 1800 or any number of seconds in Session-Timeout. Is
> there any way to use this together?
> 


Radiator 2.15 was released yesterday and supports a reply attribute like this:


 Session-Timeout = "until 1800"


Please have a look at section 13.2.5 in the Radiator 2.15 reference manual.


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.





Re: (RADIATOR) Limited time interval and limited duration

2000-02-18 Thread Hugh Irvine


Hello Lufti -

On Fri, 18 Feb 2000, Lutfi YUNUSOGLU wrote:
> 
> Hi,
> I want to create some users which can connect for example between 8:00 and
> 18:00 in a month everyday but total time in month should be maximum 10
> hours. 
> Time interval is easy and works fine. But for totalsession I have problems.
> Cause I can't use until 1800 or any number of seconds in Session-Timeout. Is
> there any way to use this together?
> 

Radiator 2.15 was released yesterday and supports a reply attribute like this:

 Session-Timeout = "until 1800"

Please have a look at section 13.2.5 in the Radiator 2.15 reference manual.

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.