mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-07 13:53:23 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user