This is a known issue affecting ESXi 6.0.
To work around this issue, perform the following depending on the scenario you are experiencing.
Before applying ESXi 6.0 patches to a host:
- Connect to the ESXi host with an SSH session using root credentials. For more information, see Using ESXi Shell in ESXi 5.x and 6.0 (2004746).
- Backup the existing krb5.keytab file:
cp /etc/krb5.keytab /vmfs/volumes/<persistent_datastore>/
- Verify the MD5 Checksum of the krb5.keytab file:
md5sum /etc/krb5.keytab
You see a checksum output similar to:
beb11f1219126c191fcd66736bbff778 /etc/krb5.keytab
- Upgrade the ESXi 5.x host to ESXi 6.0
- After the upgrade is completed, copy the backup copy of the krb5.keytab file back into the /etc/ directory:
cp /vmfs/volumes/persistent_datastore/krb5.keytab /etc/krb5.keytab
- Ensure the MD5 Checksum of the krb5.keytab file is identical to the pre-upgraded ESXi host from Step 2.
md5sum /etc/krb5.keytab
You see a checksum output similar to this:
beb11f1219126c191fcd66736bbff778 /etc/krb5.keytab
- After completing, ensure that you are able to log into the ESXi host with Active Directory credentials.
Before rebooting your ESXi 6.0 host:
- Connect to the ESXi host with an SSH session using root credentials. For more information, see Using ESXi Shell in ESXi 5.x and 6.0 (2004746).
- Backup the existing krb5.keytab file.
cp /etc/krb5.keytab /vmfs/volumes/persistent_datastore/
- Verify the MD5 Checksum of the krb5.keytab file
md5sum /etc/krb5.keytab
You see a checksum output similar to:
beb11f1219126c191fcd66736bbff778 /etc/krb5.keytab
- Reboot the ESXi host.
- After the upgrade has completed, copy the backup copy of the krb5.keytab file back into the /etc/ directory:
ccp /vmfs/volumes/persistent_datastore/krb5.keytab /etc/krb5.keytab
- Ensure the MD5 Checksum of the krb5.keytab file is identical to the output in Step 2.
md5sum /etc/krb5.keytab
You see a checksum output similar to:
beb11f1219126c191fcd66736bbff778 /etc/krb5.keytab
- After completing, ensure that you are able to log into the ESXi host with Active Directory credentials.
In the event the the krb5.keytab file has been lost:
In the event the
krb5.keytab file has been lost, rejoin the ESXi 6.0 host to the Active Directory domain to recreate the file. For more information, see
Add a Host to Directory Service Domain in the
vSphere Security Guide. If this option is used, any
krb5.keytab file that has been backed up from the methods listed above should not be reused.