freeRadius 0.2 on RH linux 7.1, cisco router as radius client.

Thanks again Alan.

I found the material on Login-Time in the readme, and now have the following
set up as one of my users:

paul    Auth-type := local, Password =="password"
        Servie-Type = Exec-User,
        Login-Time = "Al0800-1800",
        Reply-Message = "Welcome %u"

My current problem is that when I use the Login-Time attribute no
session-timeout value is sent back to the client.

the Session-Timeout attribute does work ok now, and passes the value back to
the client as attribute no. 27.
When using Login-Time, as far as I understand it, the radius server
calculates the time left for a session (if within the valid times) and
passes back to the client a value representing the remaining time allowed
for the session as a Session-Timeout value. Not only is the value not being
sent back to the client, the user can also log in outside the times
specified in the Login-Time attribute.

Since this value is not being sent back, I'm assuming something is going
wrong on the radius server side.

Heres hoping I'm not missing something obvious again ; )

cheers,

Paul

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 13 August 2001 21:56
> To: [EMAIL PROTECTED]
> Subject: Re: set start and end times 
> 
> 
> Paul Foxton <[EMAIL PROTECTED]> wrote:
> > I need to set up timed access to a resource (a seperate 
> network off the
> > router running the radius client)
> 
>   See doc/README, look for Login-Time.
>  
> > For this I ideally need to set the start and end times for 
> access for a
> > particular user at a given time - this will change over 
> time (password,
> > access times etc). 
> 
>   Yup, Login-Time is what you want.
> 
> > I know I can use settimeout for the length of a session 
> (although I havn't
> > got that to work yet) but I need to set the start time and 
> the end time for
> > a session depending on what time a user has booked and how 
> long they have
> > booked the resource for. Can this be done using the 
> clients.conf file?
> 
>   No.
> 
>   Alan DeKok.
> 
> - 
> List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to