Kerberos authentication failed: kinit: Cannot read password while getting initial credentials
Sometimes for messages like this:
Kerberos authentication failed: kinit: Cannot read password while getting initial credentials
There is a simple solution. Reset the user's password, because it probably expired or the user account used was just created without the user having set a new password on it. In our case, running the following FreeIPA command produced the above issue:
ipa-client-install –force-join -p autojoin -w "SecretPass" –fixed-primary –server=$IPA01.$NDOMAIN –server=$IPA02.$NDOMAIN –domain=$NDOMAIN –realm=$UNDOMAIN -U
Cheers,
TK