example<1>.com user@example<2>.com and is mapped to an NSX roleuser@example<2>.com fails with the following error:Your login attempt was not successful. The username/password combination is incorrect or the account specified has been locked/var/log/proxy/reverse-proxy.log, a warning similar to this example is observed:<DATE>T14:08:37.773Z WARN Processing request <ID> DelegatingLdapAuthProvider 74600 - [nsx@6876 comp="nsx-manager" level="WARNING" subcomp="http"] Could not find a matching LDAP authentication provider for user UsernamePasswordAuthenticationToken [Principal=user@example<2>.com, Credentials=[PROTECTED], Authenticated=false, Details=WebAuthenticationDetails [RemoteIpAddress=<IP address>, SessionId=null], Granted Authorities=[]]. No LDAP identity sources with a domain_name or alternative_domain_name matching example<2>.com were found.java.lang.NullPointerException: Cannot invoke "com.vmware.nsx.management.rp.security.ldap.LdapResourceConfig.getDomainName()" because the return value of "java.util.Map.get(Object)" is null<DATE>t11:21:28.782Z <NSX MANAGER FQDN> NSX 79574 - [nsx@4413 comp="nsx-manager" level="WARNING" subcomp="http"] The user <LDAP USER ID>@EXAMPLE<1>.com has a userPrincipalName <LDAP USER ID>@EXAMPLE<2>.com, but the domain EXAMPLE<2>.com is not associated with the LDAP identity source for EXAMPLE<1>.com. Consider adding EXAMPLE<2>.com as an alternative_domain_name.<DATE>T11:21:28.783Z <NSX MANAGER FQDN> NSX 79574 SYSTEM [nsx@4413 audit="true" comp="nsx-manager" level="INFO" subcomp="http"] UserName=<LDAP USER ID>@EXAMPLE<1>.com, ModuleName="ACCESS_CONTROL", Operation="LOGIN", Operation status="failure"VMware NSX
example<1>.com LDAP Identity source and add an alternative domain nameexample<2>.com and click Saveget service authset service auth logging-level debug