Restriction with User Name in ESX 4.1

According to a recent post by Duncan, there is an issue with password in ESX(i) 4.1. Only the first 8 characters of a password are taken and validated. A VMware KB article offered solutions to this issue.

Interestingly enough, vSphere Java API community reported a bug with vSphere API’s HostLocalAccountManager managed object: a piece of code creating a new user account used to work with ESX 4.0, but no longer with ESX 4.1 without any change. My first thought was to check the API reference to see if there is any change with parameters, especially those data objects embedded in the parameters. Then I suspected it might be associated with policies of password. I found another KB article related to password while searching for answers.

Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.

After several rounds of trials, it turned out the issue was related to the user name. As reported, the problem was caused by “.” (dot character) which  is no longer allowed in user name of ESX 4.1. Removing the dot solved the problem.

I think this issue may not be as common as the password because not many people use “.” in user name. But if you get this problem, it’s hard to root the cause. That is why I write this so that you can easily avoid the issue before it happens.

This entry was posted in vSphere API and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

2 Comments

  1. Posted September 18, 2010 at 3:55 pm | Permalink

    Where is the “like” button for this page? Very cool to find things like this.

    Instead of all these KB articles VMware should include in it’s admin guide the rules and restrictions for usernames and passwords. These should align to what Windows and Linux support as well if we are working in a heterogeneous environment.

  2. Posted September 18, 2010 at 5:28 pm | Permalink

    Do you mean a link to similar posts for the page? If yes, you can scroll down to the end of the post for “Related Posts.”

    I agree with you on KB contents into admin guide. I think some KB content didn’t make it because of timing.

    Steve

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  • NEED HELP?


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__ doublecloud.org.

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.