[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Help: Login-Time
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Help: Login-Time |
Date: |
Wed, 29 May 2002 10:53:33 +0300 |
> I'm using Login-Time in users file:
> xxx Auth-Type = Local,
> Password = "test",
> Login-Time = "Any800-Any1000",
[...]
> but this rule doesn't work.
Your login time specification is incorrect. The Login-Time attribute
takes usual UUCP-like specification of time. In your case it will be
Login-Time = "Al0800-Al1000"
For more information, see accompanying documentation, node
'Attribute Index' -> 'Login-Time', or visit
http://www.gnu.org/software/radius/manual/html_node/radius_186.html#SEC189
> How to use groups for different users?
In the simplest case:
DEFAULT Group = "a",
Auth-Type = System
Service-Type = Authenticate-Only
DEFAULT Group = "b",
Auth-Type = SQL
Service-Type = Framed-User
In this example, all users belonging to group "a" will be
authenticated using system password database and will get service
type Authenticate-Only. Users belonging to group "b" will be
authenticated against SQL, and will get Framed-User service.
User "belongs" to the group "x" if one of the following conditions
is met (in the order listed):
1) The group name "x" is a member of the group list returned by
group_query SQL query (this is defined in raddb/sqlserver).
2) User is listed as a member of the group in the system user
database, i.e. either in /etc/passwd or in /etc/group. This
is useful for System authentication type.
Regards,
Sergey