Skip to content

Commit

Permalink
infra/image/system-service/fixipaip.sh: Use of admin for kinit call
Browse files Browse the repository at this point in the history
The kinit call have been missing the principal.
  • Loading branch information
t-woerner committed Aug 7, 2024
1 parent e2bdbee commit 36f26bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/image/system-service/fixipaip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36f26bd

Please sign in to comment.