VMware: ESX 4.0 (or 3.5) Server Integration with Active Directory

A couple of months ago I had to integrate several ESX servers in the Active Directory for security purposes.Now why would we want to do that? A very good reason would be that you want to keep your VMware environment safe and simple.

OK, let’s get started!

Step One: Be sure that this feature is already configured or not:

/usr/sbin/esxcfg-auth –disablead

Step Two: Run the following command replacing the bloded text with the name of your domain:

/usr/sbin/esxcfg-auth –enablead –addomain=itbasemenet.net –addc=itbasemenet.net

Step Tree: Create the usernames:
/usr/sbin/useradd admin.user

* the username should be named the same as the one configured in the Active Directory. You don’t need to provide a password for this account since you will use the Active Directory password.

Step Four: Don’t forget to modify the ESX firewall to permit Active Directory Kerberos. Check the image below:

And that’s it!

About Razvan Oncescu

System Engineer

One Response to “VMware: ESX 4.0 (or 3.5) Server Integration with Active Directory”