Hi Hugh,
OK. I have manually installed a second copy of radiator in
/radiatordb/radiatorhttp directory.
I have changed the port accordingly.
I made a copy of the /etc/init.d/radiator file and save it as
/etc/init.d/radiatorhttp
I edited radiatorhttp to reflect the config of my new radiator install and
used the
RH chkconfig to add the service to the system.
The problem I noticed now is that when I use the "service" command on
radiatorhttp
it appears to work on my original radiator installation!
"service (start/stop/restart/status) radiatorhttp" actuallly works on my
radiator service
and not radiatorhttp. Any ideas?
Please find attached my /etc/init.d/radiator & /etc/init.d/radiatorhttp
files.
Regards,
Tunde Itayemi.
----- Original Message -----
From: "Hugh Irvine" <[EMAIL PROTECTED]>
To: "Ayotunde Itayemi" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, January 11, 2003 5:25 AM
Subject: Re: website access / ipass authentication
Hello Tunde -
If you want to use different port numbers, why not just use two
instances of Radiator?
Otherwise, have a look at a trace 4 debug to see what attributes are
included in the radius requests that you can use.
regards
Hugh
On Saturday, Jan 11, 2003, at 04:02 Australia/Melbourne, Ayotunde
Itayemi wrote:
> Hi Hugh, Hi All,
>
> I have the ipass netserver installed on my RADIUS server. I also want
> to use radiator to
> authenticate access to some webpages on the same server. The problem
> is that the
> config for ipass netserver and webserver authentication both use the
> "localhost" client
> designation. The only way out I see it to change the port that the
> webserver uses for
> radius authentication and configure radiator to also listen on (this)
> extra port.
> The issue now is how do I differentiate requests from the two ports
> and process the
> requests accordingly using two different "Realm" clauses - or cascaded
> AuthBys?
>
> Please advice?
>
>
> Regards,
> Tunde Itayemi.
>
>
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
#!/bin/sh
#
# radiator This shell script takes care of starting and stopping \
# Radiator (radius daemon).
#
# chkconfig: 2345 90 15
# description: radiator is the radius daemon required for RAS AAA.
# processname: /usr/bin/radiusd
#
# Startup script for Radiator on Linux. Install this as
# /etc/init.d/radiator. If you have chkconfig, you can use
# chkconfig -add radiator
# to generate the required start asnd stop entries in /etc/rc[2345].d/
# Otherwise, you need to add symlinks to /etc/rc[2345].d/
#
# config: /etc/radiator/radius.cfg
# Author: Mike McCauley ([EMAIL PROTECTED])
# Copyright (C) 2000 Open System Consultants
# $Id: linux-radiator.init,v 1.4 2002/08/20 00:56:30 mikem Exp $
# Source 'em up
. /etc/init.d/functions
RADIUSD=/radiatordb/radiatorhttp/radiusd
RADIATOR_CONFIG=/radiatordb/radiatorhttp/radius.cfg
RADIATOR_ARGS=
# Source additional OPTIONS if we have them.
if [ -f /etc/sysconfig/radiator ] ; then
. /etc/sysconfig/radiator
fi
if [ ! -x $RADIUSD ]; then
exit 0
fi
start() {
# don't do squat if we don't have the config file
if [ -f $RADIATOR_CONFIG ]; then
echo -n "Starting Radiator: "
daemon $RADIUSD -config_file $RADIATOR_CONFIG $RADIATOR_ARGS
RETVAL=$?
echo
else
echo Unable to find config file $RADIATOR_CONFIG!
fi
return $RETVAL
}
stop() {
echo -n "Shutting down Radiator: "
killproc /radiatordb/radiatorhttp/radiusd
RETVAL=$?
echo
return $RETVAL
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
RETVAL=$?
;;
status)
status /radiatordb/radiatorhttp/radiusd
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit $RETVAL
#!/bin/sh
#
# radiator This shell script takes care of starting and stopping \
# Radiator (radius daemon).
#
# chkconfig: 2345 90 15
# description: radiator is the radius daemon required for RAS AAA.
# processname: /usr/bin/radiusd
#
# Startup script for Radiator on Linux. Install this as
# /etc/init.d/radiator. If you have chkconfig, you can use
# chkconfig -add radiator
# to generate the required start asnd stop entries in /etc/rc[2345].d/
# Otherwise, you need to add symlinks to /etc/rc[2345].d/
#
# config: /etc/radiator/radius.cfg
# Author: Mike McCauley ([EMAIL PROTECTED])
# Copyright (C) 2000 Open System Consultants
# $Id: linux-radiator.init,v 1.4 2002/08/20 00:56:30 mikem Exp $
# Source 'em up
. /etc/init.d/functions
RADIUSD=/usr/bin/radiusd
RADIATOR_CONFIG=/etc/radiator/radius.cfg
RADIATOR_ARGS=
# Source additional OPTIONS if we have them.
if [ -f /etc/sysconfig/radiator ] ; then
. /etc/sysconfig/radiator
fi
if [ ! -x $RADIUSD ]; then
exit 0
fi
start() {
# don't do squat if we don't have the config file
if [ -f $RADIATOR_CONFIG ]; then
echo -n "Starting Radiator: "
daemon $RADIUSD -config_file $RADIATOR_CONFIG $RADIATOR_ARGS
RETVAL=$?
echo
else
echo Unable to find config file $RADIATOR_CONFIG!
fi
return $RETVAL
}
stop() {
echo -n "Shutting down Radiator: "
killproc radiusd
RETVAL=$?
echo
return $RETVAL
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
RETVAL=$?
;;
status)
status radiusd
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit $RETVAL