infra/image/system-service/fixipaip.sh: Use of admin for kinit call

The kinit call have been missing the principal.
This commit is contained in:
Thomas Woerner
2024-08-07 14:58:24 +02:00
parent e2bdbeef6d
commit 36f26bdf63

View File

@@ -55,7 +55,7 @@ echo " IP: '${IP}'"
echo " PTR: '${PTR}'"
echo " FORWARDER: '${FORWARDER}'"
if ! echo "SomeADMINpassword" | kinit -c "${KRB5CCNAME}"
if ! echo "SomeADMINpassword" | kinit -c "${KRB5CCNAME}" admin >/dev/null
then
echo "ERROR: Failed to obtain Kerberos ticket"
exit 1