Configure external identity source for NSX-T Data Center
In this article, you'll learn how to configure an external identity source for NSX-T Data Center in an Azure VMware Solution. The NSX-T Data Center can be configured with external LDAP directory service to add remote directory users or groups. The users can be assigned an NSX-T Data Center Role-based access control (RBAC) role like you've on-premises.
Prerequisites
A working connectivity from your Active Directory network to your Azure VMware Solution private cloud.
If you require Active Directory authentication with LDAPS:
You'll need access to the Active Directory Domain Controller(s) with Administrator permissions.
Your Active Directory Domain Controller(s) must have LDAPS enabled with a valid certificate. The certificate could be issued by an Active Directory Certificate Services Certificate Authority (CA) or a third-party CA.
Note
Self-sign certificates are not recommended for production environments.
Ensure your Azure VMware Solution has DNS resolution configured to your on-premises AD. Enable DNS Forwarder from Azure portal. For more information, see Configure NSX-T Data Center DNS for resolution to your Active Directory Domain and Configure DNS forwarder for Azure VMware Solution .
Note
For more information about LDAPS and certificate issuance, see with your security or identity management team.
Add Active Directory as LDAPS identity source
Sign-in to NSX-T Manager and Navigate to System > Users and Roles > LDAP.
Select on the Add Identity Source.
Enter a name for the identity source. For example, avslab.local.
Enter a domain name. The name must correspond to the domain name of your Active Directory server, if using Active Directory. For example,
avslab.local
.Select the type as Active Directory over LDAP, if using Active Directory.
Enter the Base DN. Base DN is the starting point that an LDAP server uses when searching for user authentication within an Active Directory domain. For example: DC=avslab,DC=local.
Note
All of the user and group entries you intend to use to control access to NSX-T Data Center must be contained within the LDAP directory tree rooted at the specified Base DN. If the Base DN is set to something too specific, such as an Organizational Unit deeper in your LDAP tree, NSX may not be able to find the entries it needs to locate users and determine group membership. Selecting a broad Base DN is a best practice if you are unsure.
After filling in the required fields, you can select Set to configure LDAP servers. One LDAP server is supported for each domain.
Field Value Hostname/IP The hostname or IP address of your LDAP server. For example, dc.avslab.local.
LDAP Protocol Select LDAPS (LDAP is unsecured). Port The default port is populated based on the selected protocol 636 for LDAPS and 389 for LDAP. If your LDAP server is running on a non-standard port, you can edit this text box to give the port number. Connection Status After filling in the mandatory text boxes, including the LDAP server information, select Connection Status to test the connection. Use StartTLS If selected, the LDAPv3 StartTLS extension is used to upgrade the connection to use encryption. To determine if you should use this option, consult your LDAP server administrator. This option can only be used if LDAP protocol is selected. Certificate If you're using LDAPS or LDAP + StartTLS, this text box should contain the PEM-encoded X.509 certificate of the server. If you leave this text box blank and select the Check Status link, NSX connects to the LDAP server. NSX will then retrieve the LDAP server's certificate, and prompt you if you want to trust that certificate. If you've verified that the certificate is correct, select OK, and the certificate text box will be populated with the retrieved certificate. Bind Identity The format is user@domainName
, or you can specify the distinguished name. For Active Directory, you can use either the userPrincipalName (user@domainName) or the distinguished name. For OpenLDAP, you must supply a distinguished name. This text box is required unless your LDAP server supports anonymous bind, then it's optional. Consult your LDAP server administrator if you aren't sure.Password Enter a password for the LDAP server. This text box is required unless your LDAP server supports anonymous bind, then it's optional. Consult your LDAP server administrator.
Assign other NSX-T Data Center roles to Active Directory identities
After adding an external identity, you can assign NSX-T Data Center Roles to Active Directory security groups based on your organization's security controls.
Sign in to NSX-T Manager and navigate to System > Users and Roles.
Select Add > Role Assignment for LDAP.
Verify the permission assignment is displayed under Users and Roles.
Users should now be able to sign in to NSX-T Manager using their Active Directory credentials.
Next steps
Now that you've configured the external source, you can also learn about:
Feedback
Submit and view feedback for