Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Cannot add Active Directory Users or Groups to an ESX or ESXi 4.1 Standalone Host (1030068)

Last Updated: 11/6/2020Categories: TroubleshootingTotal Views: 7399Language:
English

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Populating the list of active directory users and groups takes long time

When using the DOMAIN\GROUP or DOMAIN\USER syntax, the client is unable to find the user or groups after clicking Check Names

The list of active directory users and groups does not show the user or group that you wish to assign a permission to

Resolution

In certain Active Directory(AD) deployments, the Active Directory server may be in a geographically distant region to your host. This will cause sluggish performance by an ESX(i) 4.1 host, added to your AD, because it must cache the list of users and groups.

This may also be an issue if you try to add AD users immediately after configuring your ESX(i) 4.1 host for AD.

In either case, we can run commands from the ESX(i) console to query a list of users/ groups from AD in order to cache the list of users or groups.

Log into the service console of ESX, or connect to the console of ESXi using either Remote Tech Support Mode or your out-of-band management hardware.

Run these commands to query the AD for all groups, and output all groups to a file named groups.txt in /vmfs/volumes/<desired_volume>

# lw-lsa enum-groups > /vmfs/volumes/<desired_volume>/groups.txt

The following command will query the AD for all users, and output all users to a file named users.txt in /vmfs/volumes/<desired_volume>

# lw-lsa enum-users > /vmfs/volumes/<desired_volume>/users.txt

Warning: Do not save these files to the root directory of an ESXi installation; this may cause the drive to fill up and cause undefined behaviour: use a local VMFS volume or LUN accessible from this host.

You can search within the file generated using this command:

# grep -i <group name> /vmfs/volumes/<desired_volume>/groups.txt

or

# grep -i <user name> /vmfs/volumes/<desired_volume>/users.txt

Note: Spaces in the group or user name will be represented by the caret (^) character: use this character when typing the name of the user/group into the vSphere Client.

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
English

Attachments

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vSphere ESXi

Related Versions:

VMware ESXi 4.1.x Installable

VMware ESXi 4.1.x Embedded

Take Our Survey

Support Assistant