Using the same basic setup (Ascend TNT, Radiator 2.14.1, new
AuthGeneric.pm. Difference is that I run it on BSDI 4.0.1) it works.
Here is what I did (suggestions thanks to Hugh)
First I set up special files for timed users, disconnect non pay users,
vacation users, etc.
Here is my radius.cfg:
<AuthBy UNIX>
Identifier System
Filename /etc/master.passwd
Match ^([^:]*):([^:]*)
</AuthBy>
# This clause handles all users from all realms by looking them up
# in the users file at /usr/local/etc/raddb/users
<Realm DEFAULT>
AuthByPolicy ContinueWhileAccept
<AuthBy FILE>
AcceptIfMissing
Filename %D/dnp-users
</AuthBy>
<AuthBy FILE>
AcceptIfMissing
Filename %D/vacation-users
</AuthBy>
<AuthBy FILE>
AcceptIfMissing
Filename %D/time-users
</AuthBy>
<AuthBy FILE>
Filename %D/users
</AuthBy>
AcctLogFileName %L/detail
</Realm>
Now in my /usr/local/etc/raddb directory I have the following files:
users
dnp-users
vacation-users
timed-users
The timed-users file looks like this:
# File for timed users
# Format for data entry:
# <username> <password> Time = "A10800-1700", Auth-Type = System
# Service-Type = Framed-User,
# Framed-Protocol = PPP
#
timetest Password = "timetest", Time = "Al1139-1145", Auth-Type = System
Session-Timeout = until 1145,
Service-Type = Framed-User,
Framed-Protocol = PPP
(the timetest user was a test...it worked)
HTH,
T.
> > ===
> > Archive at http://www.thesite.com.au/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.