mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-25 00:44:42 +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 " PTR: '${PTR}'"
|
||||||
echo " FORWARDER: '${FORWARDER}'"
|
echo " FORWARDER: '${FORWARDER}'"
|
||||||
|
|
||||||
if ! echo "SomeADMINpassword" | kinit -c "${KRB5CCNAME}"
|
if ! echo "SomeADMINpassword" | kinit -c "${KRB5CCNAME}" admin >/dev/null
|
||||||
then
|
then
|
||||||
echo "ERROR: Failed to obtain Kerberos ticket"
|
echo "ERROR: Failed to obtain Kerberos ticket"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user