I recently upgraded to VCSA 7.0.2-17694817 and my Active Directory (AD) communication stopped working. Below are the troubleshooting steps I've taken:
- I've verified the AD DNS servers are configured properly on my VCSA. The VCSA is resolving domain entries correctly using nslookup and I can ping both my DC and domain name.
- I've followed all the guides for leaving/joining AD via the VCSA CLI. I've left the domain using /opt/likewise/bin/domainjoin-cli leave.
- I've removed the VCSA AD instance in my Windows Server 2016 DC. I've verified I'm using a domain administrator account with the correct password and the account is unlocked.
- When I attempt to join the AD from the VCSA CLI using /opt/likewise/bin/domainjoin-cli join domainname username password I receive ERROR_GEN_FAILURE [code 0x0000001f] which suggests SMBv2 must be enabled.
- I've followed the guides to enable SMBv2 on VCSA using /opt/likewise/bin/lwregshell add_value
'[HKEY_THIS_MACHINE\Services\lwio\Parameters\Drivers\rdr]' Smb2Enabled REG_DWORD 1
- I've verified SMBv1 is disabled on my Windows 2016 DC and SMBv2 is enabled. Registry location HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\
- I've verified there are no issues with my DC Windows Firewall or McAfee Host Intrusion Prevention Firewall blocking the connection. No threat events reported in any Antivirus applications. Furthermore these devices are on the same subnet so there is no network firewall or IDS to consider either.
I'm now at a loss on why my VCSA is not joining my AD. I continue to receive ERROR_GEN_FAILURE [code 0x0000001f] when attempting to join via CLI and I continue to receive Idm client exception: Error trying to join AD, error code [31] when attempting to join via the vSphere web client. Please help.