- don't exit if we have a kldap db

This commit is contained in:
Nalin Dahyabhai 2007-09-11 19:03:15 +00:00
parent 83381c77e7
commit f330d3856e

View File

@ -34,8 +34,8 @@ start() {
# then we don't know for sure that this is an error. # then we don't know for sure that this is an error.
if ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ; then if ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ; then
echo $"Error. Default principal database does not exist." echo $"Error. Default principal database does not exist."
exit 0
fi fi
exit 0
fi fi
if [ -f /var/kerberos/krb5kdc/kpropd.acl ] ; then if [ -f /var/kerberos/krb5kdc/kpropd.acl ] ; then
echo $"Error. This appears to be a slave server, found kpropd.acl" echo $"Error. This appears to be a slave server, found kpropd.acl"