Access deniedYou are not authorized to perform this operation. Please check your permissions.
/var/log/nsx-audit.log shows Granted Authorities not displaying any AD groups to which the AD user belongs:
<###>1 YYYY-MM-DDTHH:MM:SS.SSSZ <NSX Manager FQDN> NSX 3322 SYSTEM [nsx@6876 audit="true" comp="nsx-manager" level="INFO" subcomp="http"] UserName="LdapUserDetailsImpl [Dn=CN=#####.,CN=Users,DC=#####,DC=#####; Username=<username>@<AD Domain>; Password=[PROTECTED]; Enabled=true; AccountNonExpired=true; CredentialsNonExpired=true; AccountNonLocked=true; Granted Authorities=[]]@127.0.0.1", ModuleName="ACCESS_CONTROL", Operation="LOGOUT", Operation status="success"
ErrorMessageCode=noroles
VMware NSX 4.2.0
This issue is resolved in VMware NSX 4.2.1, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
id and resolve_nested_group values:curl -k -u 'admin:<PASSWORD>' https://<NSX_MGR_IP>/policy/api/v1/aaa/ldap-identity-sources/<PASSWORD> and <NSX_MGR_IP> with the appropriate values.id associated with the impacted AD instanceresolve_nested_group field is set to falseresolve_nested_group field is set to true, this issue must be resolved using the UI.resolve_nested_group field is set to false, the issue can be resolved by the using REST API.Note: Use the same name for the LDAP integration to avoid having to re-add the AD groups.
GET https://<NSX_MGR_IP>/policy/api/v1/aaa/ldap-identity-sources/<id>/ <id> using the output from the previous step.resolve_nested_groups value to truePUT https://<NSX_MGR_IP>/policy/api/v1/aaa/ldap-identity-sources/<id>/