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

Skip to main content

My Subscriptions

Loading

Knowledge Base

ESX fails to authenticate some active directory users with the error: Authentication failure (ASN.1 encoding ended unexpectedly) (1005469)

Last Updated: 3/20/2024Categories: TroubleshootingTotal Views: 14271Language:
English

3 like this article

Subscribe to get an email
newsletter with new updates

3 people found this helpful Please provide article feedback:

Symptoms

After setting up the ESX Active Directory authentication as per http://www.vmware.com/vmtn/resources/582 , users cannot authenticate.

In the /var/log/messages log file, you see entries similar to:

Apr 21 13:43:14 hostname sshd(pam_unix)[10205]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=remotehost user=myuser
Apr 21 13:43:15 hostname sshd[10205]: pam_krb5[10205]: authentication fails for 'myuser' ( [email-masked] ): Authentication failure (ASN.1 encoding ended unexpectedly)
Apr 21 13:43:17 hostname sshd[10205]: Failed password for myuser from remotehost port 1741 ssh2

In the domain controller, you see the error:

Type: Failure Audit

Source: Security

Category: Account Logon

Event ID: 675

User: NT AUTHORITY\SYSTEM

Computer: <DC Host Name>

Description:

Pre-authentication failed:

User Name: myuser
User ID: NTADMIN\myuser
Service Name: krbtgt/MY.DOMAIN.COM
Pre-Authentication Type: 0x0
Failure Code: 0x19
Client Address: <IP of ESX Host>

active-directory-account-issue

Resolution

This issue occurs when Pre-Authentication for the user is enabled in Active Directory. To allow the user to log on, it needs to be deactivated.

You can disable pre-authentication on a per-user basis.

To disable pre-authentication:

Access Active Directory Users and Computers.

Select Do not require Kerberos preauthentication in the Account Properties tab.

For Computer accounts, such as a username that is an ESX hostname, you do not have the Do not require Kerberos preauthentication option in the Account Properties tab. In this case, you must modify the UserAccountControl attribute.

To modify the UserAccountControl attribute:

In the domain controller, click Start > Run, type adsiedit.msc, and click OK. The ADSI Edit tool opens.

Note: The ADSI Edit tool is included with the Windows 2003 Support Tools. To install the Support Tools, run Suptools.msi located at the Support\Tools folder in the Windows 2003 Server CD-ROM.

Locate the computer accounts DOMAIN\EXC$ under the Domain partition.

Right-click DOMAIN\EXC$ and click Properties.

Locate the UserAccountControl attribute in the Attributes list and click Edit.

Modify its value to the current value plus 4194304. For example, if the current value is 512, the new value is 512 + 4194304 = 4194816.

Click OK.

Click Apply and then click OK.

Quit ADSI Edit and then check if Event 675 stops for these accounts.

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
•
使用脚本式安装功能部署 ESXi 5.x (2004582)

KB
•
ESX 3.5 Update 3 で、仮想マシンの監視が有効になっている VMware HA を使用している場合に仮想マシンが突然再起動することがある (1007899)

Results 1-3 of 3

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware ESX Server

Related Versions:

VMware ESX Server 3.5.x

VMware ESX Server 3.0.x

Take Our Survey

Was this article helpful?

YES

NO

Copyright © 2005-2024 Broadcom. All Rights Reserved. The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.

Terms of Use

Your California Privacy Rights

Privacy

Accessibility

Cookie Settings

Support Assistant