AuthBy EXTERNAL not working ?
Adrian
adrian-ml at connexus.net.au
Mon Feb 10 00:27:24 CST 2003
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 mikem at open.com.au
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 radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list