---------- Forwarded Message ----------
Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from ["Joseph
Nguta" <[EMAIL PROTECTED]>]
Date: Mon, 8 Apr 2002 07:08:33 -0500
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
>From [EMAIL PROTECTED] Mon Apr 8 07:08:33 2002
Received: from smtp.africaonline.co.zw ([209.88.92.8])
by server1.open.com.au (8.11.0/8.11.0) with ESMTP id g38C8T330506;
Mon, 8 Apr 2002 07:08:30 -0500
Received: from techage (DHCP-Harare239.africaonline.co.zw [192.168.101.239])
by smtp.africaonline.co.zw (8.11.0/8.11.0) with SMTP id g38HiOG01752;
Mon, 8 Apr 2002 15:44:33 -0200 (GMT)
Message-ID: <003801c1df04$3deefbe0$[EMAIL PROTECTED]>
Reply-To: "Joseph Nguta" <[EMAIL PROTECTED]>
From: "Joseph Nguta" <[EMAIL PROTECTED]>
To: "Hugh Irvine" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Subject: Realm Default not being seen
Date: Mon, 8 Apr 2002 15:47:19 +0200
Organization: Africa Online Zimbabwe
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0035_01C1DF14.AA367480"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
Disposition-Notification-To: "Joseph Nguta" <[EMAIL PROTECTED]>
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
This is a multi-part message in MIME format.
------=_NextPart_000_0035_01C1DF14.AA367480
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi
I have instaled and configured Radiator 2.19 on Redhat 7.0 together =
with mySQL database for Authentication by SQL. I have one real for my =
local users and a DEFAULT for roaming users. The local realm =
(abcd.co.za) authenticates without a hitch. However all other request =
that are supposed to be authenticated under DEFAULT realm don't work. =
The error message I get is :
Mon Apr 8 12:15:12 2002: WARNING: Could not find a handler for : =
request is ignored
Mon Apr 8 12:15:12 2002: DEBUG: Packet dump:=20
PLease help if you can
My config file below.
# common-sql.cfg
#
# Example Radiator configuration file that allows you to
# authenticate from an SQL database.
# With Radiator you can interface with almost any databse schema,
# and there are many more configurable parameters that allow you
# to control database fallback, select statements, column names
# and arrangements etc etc etc.
# See the reference manual for more details.
# This is a very simple exmaple to get you started. It will
# work with the tables created by the goodies/*.sql scripts.
#
# You should consider this file to be a starting point only
# $Id: sql.cfg,v 1.3 1999/07/29 02:38:10 mikem Exp $
Foreground
Trace 4
#LogStdout=20
LogDir /usr/local/etc/radius
LogFile %L/logfile.%Y%m%d =20
DbDir .
# You will probably want to change this to suit your site.
#<Client DEFAULT>
# Secret mysecret
# DupInterval 0
# IgnoreAcctSignature
#</Client>
#
# You can put client details in a database table
# and get their details from there with something like this:
<ClientListSQL>
DBSource dbi:mysql:radius
DBUsername root
DBAuth
</ClientListSQL>
<Realm abcd.co.za>
RewriteUsername s/\s+//g
RewriteUsername s/\@abcd\.co\.za$//
<AuthBy GROUP>
AuthByPolicy ContinueWhileAccept
<AuthBy SQL>
# Adjust DBSource, DBUsername, DBAuth to suit your DB
AuthSelect select ENCRYPTEDPASSWORD,CHECKATTR,REPLYATTR from =
SUBSCRIBERS where USERNAME=3D'%n'
EncryptedPassword
DBSource dbi:mysql:radius
DBUsername root
DBAuth
# You may want to tailor these for your ACCOUNTING table
AccountingTable ACCOUNTING
AcctColumnDef USERNAME,User-Name
AcctColumnDef TIME_STAMP,Timestamp,integer
AcctColumnDef ACCTSTATUSTYPE,Acct-Status-Type
AcctColumnDef ACCTDELAYTIME,Acct-Delay-Time,integer
AcctColumnDef ACCTINPUTOCTETS,Acct-Input-Octets,integer
AcctColumnDef ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
AcctColumnDef ACCTSESSIONID,Acct-Session-Id
AcctColumnDef ACCTSESSIONTIME,Acct-Session-Time,integer
AcctColumnDef ACCTTERMINATECAUSE,Acct-Terminate-Cause
AcctColumnDef NASIDENTIFIER,NAS-Identifier
AcctColumnDef NASPORT,NAS-Port,integer
AcctColumnDef FRAMEDIPADDRESS,Framed-IP-Address
AcctColumnDef FILTERID,Framed-Filter-Id
</AuthBy>
<AuthBy EXTERNAL>
Command /usr/local/bin/afolexternalcheck.sh %u
DecryptPassword
</AuthBy>
</AuthBy FILE>
AcctLogFileName %L/detail.%Y%m%d
PasswordLogFileName %L/passwd.%Y%m%d=20
</AuthBy>
</AuthBy>
</Realm>
###############################################
# Default Realm to forward request for GRIC roaming
###############################################
<Realm DEFAULT>
<AuthBy RADIUS>
Host xxxxxxxxxxx=20
Secret yyyyyyyyyy=20
AuthPort 1645
AcctPort 1646
Fork
</AuthBy>
</Realm>
[root@radius1 conf]#=20
------=_NextPart_000_0035_01C1DF14.AA367480
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have instaled and configured Radiator =
2.19 on Redhat 7.0 together with mySQL database for =
Authentication by=20
SQL. I have one real for my local users and a DEFAULT for roaming users. =
The=20
local realm (abcd.co.za) authenticates without a hitch. However all =
other=20
request that are supposed to be authenticated under DEFAULT realm =
don't=20
work. The error message I get is :</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Mon Apr 8 12:15:12 2002: WARNING: =
Could not=20
find a handler for : request is ignored<BR>Mon Apr 8 12:15:12 =
2002: DEBUG:=20
Packet dump: </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>PLease help if you can</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>My config file below.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># common-sql.cfg<BR>#<BR># Example =
Radiator=20
configuration file that allows you to<BR># authenticate from an SQL=20
database.<BR># With Radiator you can interface with almost any databse=20
schema,<BR># and there are many more configurable parameters that allow =
you<BR>#=20
to control database fallback, select statements, column names<BR># and=20
arrangements etc etc etc.<BR># See the reference manual for more =
details.<BR>#=20
This is a very simple exmaple to get you started. It will<BR># work with =
the=20
tables created by the goodies/*.sql scripts.<BR>#<BR># You should =
consider this=20
file to be a starting point only<BR># $Id: sql.cfg,v 1.3 1999/07/29 =
02:38:10=20
mikem Exp $</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Foreground<BR>Trace 4<BR>#LogStdout =
<BR>LogDir=20
/usr/local/etc/radius<BR>LogFile  =
; =20
%L/logfile.%Y%m%d =20
<BR>DbDir =20
.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># You will probably want to change this =
to suit=20
your site.<BR>#<Client =
DEFAULT><BR># =20
Secret mysecret<BR># =
DupInterval=20
0<BR># =20
IgnoreAcctSignature<BR>#</Client><BR>#<BR># You can put client =
details in=20
a database table<BR># and get their details from there with something =
like=20
this:<BR><ClientListSQL><BR> &nb=
sp;=20
DBSource =20
dbi:mysql:radius<BR> =20
DBUsername =20
root<BR> =20
DBAuth<BR></ClientListSQL></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><BR><Realm=20
abcd.co.za><BR> RewriteUsername=20
s/\s+//g<BR> RewriteUsername <A=20
href=3D"mailto:s/\@abcd\.co\.za$//">s/\@abcd\.co\.za$//</A><BR> &nbs=
p; =20
<AuthBy GROUP><BR> AuthByPolicy=20
ContinueWhileAccept<BR> <AuthBy=20
SQL><BR> # Adjust DBSource, =
DBUsername, DBAuth to suit your =
DB<BR> =20
AuthSelect select ENCRYPTEDPASSWORD,CHECKATTR,REPLYATTR from SUBSCRIBERS =
where=20
USERNAME=3D'%n'<BR> =20
EncryptedPassword<BR> =20
DBSource =20
dbi:mysql:radius<BR> =20
DBUsername =20
root<BR> =20
DBAuth<BR> # You may want to =
tailor=20
these for your ACCOUNTING =
table<BR> =20
AccountingTable ACCOUNTING<BR> =
AcctColumnDef =20
USERNAME,User-Name<BR> =20
AcctColumnDef =20
TIME_STAMP,Timestamp,integer<BR>  =
;=20
AcctColumnDef =20
ACCTSTATUSTYPE,Acct-Status-Type<BR> &n=
bsp;=20
AcctColumnDef =20
ACCTDELAYTIME,Acct-Delay-Time,integer<BR> &n=
bsp; =20
AcctColumnDef =20
ACCTINPUTOCTETS,Acct-Input-Octets,integer<BR> &nbs=
p; =20
AcctColumnDef =20
ACCTOUTPUTOCTETS,Acct-Output-Octets,integer<BR> &n=
bsp; =20
AcctColumnDef =20
ACCTSESSIONID,Acct-Session-Id<BR> &nbs=
p;=20
AcctColumnDef =20
ACCTSESSIONTIME,Acct-Session-Time,integer<BR> &nbs=
p; =20
AcctColumnDef =20
ACCTTERMINATECAUSE,Acct-Terminate-Cause<BR> =
=20
AcctColumnDef =20
NASIDENTIFIER,NAS-Identifier<BR>  =
;=20
AcctColumnDef =20
NASPORT,NAS-Port,integer<BR> =20
AcctColumnDef =20
FRAMEDIPADDRESS,Framed-IP-Address<BR> =
=20
AcctColumnDef =
FILTERID,Framed-Filter-Id<BR> =20
</AuthBy><BR> <AuthBy=20
EXTERNAL><BR> Command =
/usr/local/bin/afolexternalcheck.sh=20
%u<BR> =20
DecryptPassword<BR> =
</AuthBy><BR> =20
</AuthBy FILE><BR> =20
AcctLogFileName =
%L/detail.%Y%m%d<BR> =20
PasswordLogFileName %L/passwd.%Y%m%d <BR> =20
</AuthBy><BR> =20
</AuthBy><BR></Realm><BR>####################################=
###########<BR>#=20
Default Realm to forward request for GRIC=20
roaming<BR>###############################################<BR><Realm=20
DEFAULT><BR> <AuthBy=20
RADIUS><BR>  =
; =20
Host xxxxxxxxxxx=20
<BR> &nb=
sp; =20
Secret yyyyyyyyyy=20
<BR> &nb=
sp; =20
AuthPort=20
1645<BR>  =
; =20
AcctPort=20
1646<BR>  =
; =20
Fork<BR> =20
</AuthBy><BR></Realm><BR>[root@radius1 conf]#=20
</FONT></DIV></BODY></HTML>
------=_NextPart_000_0035_01C1DF14.AA367480--
-------------------------------------------------------
--
Mike McCauley [EMAIL PROTECTED]
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
Phone +61 3 9598-0985 Fax +61 3 9598-0955
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.