Cannot complete login due to an incorrect user name or password".LW_ERROR_PASSWORD_MISMATCH (error code 40022) and Decrypt integrity check failed messages.
|
The affected ESXi hosts lack proper DNS search domain configuration for the Active Directory domain. This prevents successful resolution of domain controllers during automatic machine password rotation.
The Likewise authentication service rotates computer account passwords every 30 days by default. When ESXi hosts cannot resolve AD domain controllers through DNS, the password change process fails. This creates a mismatch between cached credentials on the ESXi host and the actual password in Active Directory.
Connect to the affected ESXi host using SSH or the ESXi Shell.
Add the Active Directory domain to the DNS search domains list:
esxcli network ip dns search add -d yourad.example.com
Check that the DNS search domain was added:
esxcli network ip dns search list
View the current DNS server configuration:
cat /etc/resolv.conf
Expected output shows your DNS servers and search domains ():
nameserver ###.###.###.10
nameserver ###.###.###.11
search example.com yourAD.example.com
Test DNS resolution to the Active Directory domain:
nslookup yourAD.example.com
Expected output (anonymized example):
Server: ###.###.###.10
Address: ###.###.###.10#53
Name: yourAD.example.com
Address: ###.###.###.100
Check DNS resolution for Active Directory service records:
nslookup _ldap._tcp.yourAD.example.com
nslookup _kerberos._tcp.yourAD.example.com
Clear the Likewise authentication cache:
/usr/lib/vmware/likewise/bin/lw-lsa ad-cache --delete-all
Restart the Likewise service:
/etc/init.d/lwsmd restart
Check domain join status:
/usr/lib/vmware/likewise/bin/domainjoin-cli query
Expected output:
Name = esxi-hostname
Domain = YOURAD.EXAMPLE.COM
Test user listing to confirm authentication works:
/usr/lib/vmware/likewise/bin/lw-lsa enum-users
Expected output shows domain users:
YOURAD\administrator
YOURAD\user1
YOURAD\user2
If the above steps do not resolve the issue, open a new support case with Broadcom and provide the following information.
esxcli network ip dns server list and esxcli network ip dns search listRelated troubleshooting:
/usr/lib/vmware/likewise/bin/lwregshell list_values "[HKEY_THIS_MACHINE\Services\lsass\Parameters\Providers\ActiveDirectory]"