- fix incorrect call to test in the kadmin init script
This commit is contained in:
parent
b54c6a0718
commit
c4bb3c531c
@ -32,7 +32,7 @@ start() {
|
||||
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
|
||||
# Make an educated guess -- if they're using kldap somewhere,
|
||||
# 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."
|
||||
fi
|
||||
exit 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user