LDAP or local users with a special character in their username or password cannot login to NSX.
search cancel

LDAP or local users with a special character in their username or password cannot login to NSX.


Article ID: 367490


Updated On:


VMware NSX Networking


  • All NSX versions.
  • LDAP user has a special character in username or password.
  • Local user has a special character in the password.
  • This user does have a special character, such as the British pound sign (£), in their user name or their password.
  • The user will see the message "Your login attempt was not successful. The username/password combination is incorrect or the account specified has been locked." even though the correct username and password were provided.


This is a known issue, which will be resolved in future release of NSX.

For a workaround that resolves the issue for LDAP and local users, use only special characters defined in ISO-8859-1 character set in usernames and passwords:


If a username or password cannot be changed, an alternative workaround will allow correct processing of all special characters for LDAP users. This workaround will not fix the issue for local user. 

  1. SSH into the NSX Manager as root
  2. Back up the configuration file:
    cp /opt/vmware/proxy-tomcat/webapps/ROOT/WEB-INF/web.xml /root
  3. Edit the file:
    1. Find the section that reads:
      <!-- Initializes API leader manager -->
    2. After that section, add the following block:
    3. Save the file. 
  4. Restart the NSX Manager's authentication service:
    su admin "restart service auth"
  5. Repeat these steps on all remaining NSX managers.

In relation to the workaround, please note the following:

  • If the workaround is in place, please note that after the Managers will have been upgraded, the upgrade will overwrite the workaround, and it needs to be configured again.
  • Also, if a Manager is replaced/re-deployed, workaround needs to be introduced again.
  • Restart of Manager's authentication service doesn't impact NSX data plane.