---------- Forwarded Message ----------
Subject: BOUNCE [EMAIL PROTECTED]: Non-member submission from [Adrian
<[EMAIL PROTECTED]>]
Date: Sun, 9 Feb 2003 18:30:26 -0600
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
>From [EMAIL PROTECTED] Sun Feb 9 18:30:26 2003
Received: from power.connexus.net.au (power.connexus.net.au [203.12.22.20])
by server1.open.com.au (8.11.0/8.11.0) with ESMTP id h1A0UPx02751
for <[EMAIL PROTECTED]>; Sun, 9 Feb 2003 18:30:25 -0600
Received: from NOTEBOOK.connexus.net.au (as13.Melbourne.interNex.net.au
[203.12.22.37]) by power.connexus.net.au (8.12.4/8.11.6) with ESMTP id
h1A5OrtB088168 for <[EMAIL PROTECTED]>; Mon, 10 Feb 2003 16:24:54 +1100
(EST)
(envelope-from [EMAIL PROTECTED])
XAntiVirus: This e-mail has been scanned for viruses via the Connexus
Internet Service Message-Id:
<[EMAIL PROTECTED]> X-Sender:
[EMAIL PROTECTED]
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 10 Feb 2003 16:27:24 +1000
To: [EMAIL PROTECTED]
From: Adrian <[EMAIL PROTECTED]>
Subject: AuthBy EXTERNAL not working ?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hi,
I'm trying to use an external program to check that
users have a valid shell on my server before they
are authenticated.
I've written the program that extracts the username
from the attributes and looks up the shell and exits
with 1 or 2, but I can't get Radiator to use the exit
status correctly. I've created several programs (in C,
perl, bourne) that simply run and then exit (with 1),
but Radiator always seems to accept it and keep going.
Here is my Radiator config snipit:
<AuthBy EXTERNAL>
Identifier CheckValidShell
Command /usr/local/etc/radius/valid_shell
</AuthBy>
<AuthBy GROUP>
Identifier CheckUsers
AuthByPolicy ContinueUntilAccept
AuthBy CheckValidShell
AuthBy CheckSystem
</AuthBy>
I'd very much appreciate any suggestions,
Thanks,
Adrian.
-------------------------------------------------------
--
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, EAP, TLS,
TTLS, PEAP etc on Unix, Windows, MacOS 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.