# Start krb5kdc, which is the Kerberos version 5 Authentication Service
# and Key Distribution Center (AS/KDC). This needs to run first on both
# master and secondary KDCs.
if [ -x /etc/rc.d/rc.krb5kdc ]; then
  sh /etc/rc.d/rc.krb5kdc start
fi

# Start the Kerberos administration server. This typically runs on the
# master Kerberos server, which stores the KDC database.
if [ -x /etc/rc.d/rc.kadmind ]; then
  sh /etc/rc.d/rc.kadmind start
fi

# Start the Kerberos V5 slave KDC update server. This runs on a slave
# (secondary) KDC server. It allows the master Kerberos server to use
# kprop(8) to propagate its database to the slave servers.
if [ -x /etc/rc.d/rc.kpropd ]; then
  sh /etc/rc.d/rc.kpropd start
fi
