This article provides steps to add an ESXi host to an Active Directory domain and to provide permissions to AD users.
ESXi
To add an ESXi host to the Active Directory using vSphere Client (HTML5):
Config.HostAgent.plugins.hostsvc.esxAdminsGroup Config.HostAgent.plugins.hostsvc.esxAdminsGroup setting matches the Administrator group that will be used in the Active Directory. These settings take effect within a minute and no reboot is required. To edit, click the top right EDIT... link.Note:
Config.HostAgent.plugins.hostsvc.esxAdminsGroup setting is changed, ensure to remove any invalid users from the Permissions tab of the ESXi host.To add the permissions to the group AD users:
Note: For information regarding required ports that need to be open between the ESXi hosts and the Active Directory domain controller, see the VMware Ports and Protocols guide (Filter for "Microsoft Active Directory Domain Controllers")
Note: Joining an ESXi hosts to an Active Directory domain with a read-only domain controller (RODC) is unsupported. ESXi hosts only can join an Active Directory domain with a writable domain controller.
When an ESXi host is joined to Active Directory, a corresponding computer account is created in the domain.
By default, the Likewise authentication service automatically rotates the computer account password every 30 days. This process requires successful communication with a Read-Write Domain Controller (RWDC).
If communication between the ESXi host and an RWDC is unavailable, the password rotation will fail. This is because a Read-Only Domain Controller (RODC) maintains a strictly read-only copy of the Active Directory database and cannot process write operations such as password updates.
If the ESXi host communicates only with an RODC, the password rotation request will be rejected. As a result, the domain trust relationship will break, causing the ESXi host to lose its domain membership. Consequently, Active Directory users will no longer be able to authenticate to the host.
Reference:
Error: "LW_ERROR_PASSWORD_MISMATCH" during ESXi AD authentication