21f3145cb4
Fri Jul 20 2001 Nalin Dahyabhai <nalin@redhat.com> - tweak statglue.c to fix stat/stat64 aliasing problems - be cleaner in use of gcc to build shlibs Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com> - use gcc to build shared libraries Wed Jun 27 2001 Nalin Dahyabhai <nalin@redhat.com> - add patch to support "ANY" keytab type (i.e., "default_keytab_name = ANY:FILE:/etc/krb5.keytab,SRVTAB:/etc/srvtab" patch from Gerald Britton, #42551) - build with -D_FILE_OFFSET_BITS=64 to get large file I/O in ftpd (#30697) - patch ftpd to use long long and %lld format specifiers to support the SIZE command on large files (also #30697) - don't use LOG_AUTH as an option value when calling openlog() in ksu (#45965) - implement reload in krb5kdc and kadmind init scripts (#41911) - lose the krb5server init script (not using it any more) Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> - Bump release + rebuild.
73 lines
1.3 KiB
Bash
Executable File
73 lines
1.3 KiB
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# kpropd.init Start and stop the Kerberos 5 propagation client.
|
|
#
|
|
# chkconfig: - 35 65
|
|
# description: Kerberos 5 is a trusted third-party authentication system. \
|
|
# This script starts and stops the service that allows this \
|
|
# KDC to receive updates from your master KDC.
|
|
# processname: kpropd
|
|
#
|
|
|
|
# Get config.
|
|
. /etc/sysconfig/network
|
|
|
|
# Check that networking is up.
|
|
[ ${NETWORKING} = "no" ] && exit 0
|
|
|
|
# Source function library.
|
|
. /etc/init.d/functions
|
|
|
|
RETVAL=0
|
|
prog="Kerberos 5 Propagation Server"
|
|
kpropd=/usr/kerberos/sbin/kpropd
|
|
|
|
# Sheel functions to cut down on useless shell instances.
|
|
start() {
|
|
if [ ! -f /var/kerberos/krb5kdc/kpropd.acl ] ; then
|
|
exit 0
|
|
fi
|
|
echo -n $"Starting $prog: "
|
|
daemon ${kpropd} -S
|
|
RETVAL=$?
|
|
echo
|
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kprop
|
|
}
|
|
stop() {
|
|
echo -n $"Stopping $prog: "
|
|
killproc ${kpropd}
|
|
RETVAL=$?
|
|
echo
|
|
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/kprop
|
|
}
|
|
|
|
# See how we were called.
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart)
|
|
stop
|
|
start
|
|
;;
|
|
status)
|
|
status ${kpropd}
|
|
retval=$?
|
|
;;
|
|
condrestart)
|
|
if [ -f /var/lock/subsys/kprop ] ; then
|
|
stop
|
|
start
|
|
fi
|
|
;;
|
|
*)
|
|
echo $"Usage: $0 {start|stop|status|restart|condrestart}"
|
|
RETVAL=1
|
|
;;
|
|
esac
|
|
|
|
exit $RETVAL
|