0bb98ee2c1
Fri Mar 30 2001 Nalin Dahyabhai <nalin@redhat.com> - add in glue code to make sure that libkrb5 continues to provide a weak copy of stat() Thu Mar 15 2001 Nalin Dahyabhai <nalin@redhat.com> - build alpha with -O0 for now Thu Mar 08 2001 Nalin Dahyabhai <nalin@redhat.com> - fix the kpropd init script Mon Mar 05 2001 Nalin Dahyabhai <nalin@redhat.com> - update to 1.2.2, which fixes some bugs relating to empty ETYPE-INFO - re-enable optimization on Alpha Thu Feb 08 2001 Nalin Dahyabhai <nalin@redhat.com> - build alpha with -O0 for now - own /var/kerberos Tue Feb 06 2001 Nalin Dahyabhai <nalin@redhat.com> - own the directories which are created for each package (#26342) Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com> - gettextize init scripts Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com> - add some comments to the ksu patches for the curious - re-enable optimization on alphas Mon Jan 15 2001 Nalin Dahyabhai <nalin@redhat.com> - fix krb5-send-pr (#18932) and move it from -server to -workstation - buildprereq libtermcap-devel - temporariliy disable optimization on alphas - gettextize init scripts Tue Dec 05 2000 Nalin Dahyabhai <nalin@redhat.com> - force -fPIC Fri Dec 01 2000 Nalin Dahyabhai <nalin@redhat.com> - rebuild in new environment Tue Oct 31 2000 Nalin Dahyabhai <nalin@redhat.com> - add bison as a BuildPrereq (#20091) Mon Oct 30 2000 Nalin Dahyabhai <nalin@redhat.com> - change /usr/dict/words to /usr/share/dict/words in default kdc.conf (#20000) Thu Oct 05 2000 Nalin Dahyabhai <nalin@redhat.com> - apply kpasswd bug fixes from David Wragg Wed Oct 04 2000 Nalin Dahyabhai <nalin@redhat.com> - make krb5-libs obsolete the old krb5-configs package (#18351) - don't quit from the kpropd init script if there's no principal database so that you can propagate the first time without running kpropd manually - don't complain if /etc/ld.so.conf doesn't exist in the -libs %post Tue Sep 12 2000 Nalin Dahyabhai <nalin@redhat.com> - fix credential forwarding problem in klogind (goof in KRB5CCNAME handling) (#11588) - fix heap corruption bug in FTP client (#14301)
80 lines
1.6 KiB
Bash
Executable File
80 lines
1.6 KiB
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# kadmind Start and stop the Kerberos 5 administrative server.
|
|
#
|
|
# chkconfig: - 35 65
|
|
# description: Kerberos 5 is a trusted third-party authentication system. \
|
|
# This script starts and stops the Kerberos 5 administrative \
|
|
# server, which should only be run on the master server for a \
|
|
# realm.
|
|
# processname: kadmind
|
|
#
|
|
|
|
# Get config.
|
|
. /etc/sysconfig/network
|
|
|
|
# Check that networking is up.
|
|
[ ${NETWORKING} = "no" ] && exit 0
|
|
|
|
# Source function library.
|
|
. /etc/init.d/functions
|
|
|
|
RETVAL=0
|
|
|
|
# Sheel functions to cut down on useless shell instances.
|
|
start() {
|
|
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
|
exit 0
|
|
fi
|
|
if [ -f /var/kerberos/krb5kdc/kpropd.acl ] ; then
|
|
exit 0
|
|
else
|
|
if [ ! -f /var/kerberos/krb5kdc/kadm5.keytab ] ; then
|
|
echo -n $"Extracting kadm5 Service Keys: "
|
|
/usr/kerberos/sbin/kadmin.local -q "ktadd -k /var/kerberos/krb5kdc/kadm5.keytab kadmin/admin kadmin/changepw" && success || fail
|
|
echo
|
|
fi
|
|
fi
|
|
echo -n $"Starting Kerberos 5 Admin Server: "
|
|
daemon /usr/kerberos/sbin/kadmind
|
|
RETVAL=$?
|
|
echo
|
|
[ $RETVAL = 0 ] && touch /var/lock/subsys/kadmin
|
|
}
|
|
stop() {
|
|
echo -n $"Stopping Kerberos 5 Admin Server: "
|
|
killproc kadmind
|
|
RETVAL=$?
|
|
echo
|
|
[ $RETVAL = 0 ] && rm -f /var/lock/subsys/kadmin
|
|
}
|
|
|
|
# See how we were called.
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart)
|
|
stop
|
|
start
|
|
;;
|
|
status)
|
|
status kadmind
|
|
;;
|
|
condrestart)
|
|
if [ -f /var/lock/subsys/kadmin ] ; then
|
|
stop
|
|
start
|
|
fi
|
|
;;
|
|
*)
|
|
echo $"Usage: $0 {start|stop|status|condrestart|restart}"
|
|
RETVAL=1
|
|
;;
|
|
esac
|
|
|
|
exit $RETVAL
|