Question: how to enable active directory in esxi 6.5?
Answer: Log in to your ESXi hosts locally and click on Configuration.
On the left side of the dialog, select Authentication Services and then click Properties.
From the Select Directory Services Type drop-down, choose Active Directory.
In the domain settings, you can add your domain in one of two ways: