Re: Can't get Login-Time to work

2003-12-16 Thread Kevork
Hi all ...

Just a question about Login-Time ...

I was trying to get this working using mysql instead files.

If I put Login-Time attribute in radcheck table (user by user), it works
OK.

I tried to put it for some group, in radgroupcheck, but it doesnt work, I
always get Access-Accept.

I would thank some idea ...

Regards,
Kevork.


- Original Message - 
From: Jonathan Ruano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 12:29 PM
Subject: RE: Can't get Login-Time to work


 I think Login-Time is a check parameter, so you should include it on the
 first
 line:

 user1 Auth-Type := System, Login-Time := Wk0745-1715
 Framed-IP-Address = 255.255.255.254,
 Framed-MTU = 1500,
 [..]

 For the meaning of the operators (=, ==, :=, etc.) take a look at rlm_sql
 doc file.

 Jon


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


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


Can't get Login-Time to work

2003-11-18 Thread Steve Cabito
Hello, I'm using 0.9.2, very vanilla, everything has been working great.

I added the following to the top of my users file, restarted the server,
booted user1 at 6:30am, and they logged right back on. I'm using a Patton
2960 and timeouts work OK.

What am I missing?

Thanks,

-Steve


==

#
#   Time-of-day restrictions
#
user1 Auth-Type := System
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 1500,
Login-Time = Wk0745-1715,
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP
#
#


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


RE: Can't get Login-Time to work

2003-11-18 Thread Jonathan Ruano
I think Login-Time is a check parameter, so you should include it on the
first
line:

user1 Auth-Type := System, Login-Time := Wk0745-1715
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 1500,
[..]

For the meaning of the operators (=, ==, :=, etc.) take a look at rlm_sql
doc file.

Jon


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


Re: Can't get Login-Time to work

2003-11-18 Thread Steve Cabito

Thanks, Jon - that did it.

-Steve

- Original Message - 
From: Jonathan Ruano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 8:29 AM
Subject: RE: Can't get Login-Time to work


 I think Login-Time is a check parameter, so you should include it on the
 first
 line:

 user1 Auth-Type := System, Login-Time := Wk0745-1715
 Framed-IP-Address = 255.255.255.254,
 Framed-MTU = 1500,
 [..]

 For the meaning of the operators (=, ==, :=, etc.) take a look at rlm_sql
 doc file.

 Jon


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



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