NSX-T Data Center REST API
Probe an LDAP identity source
Verify that the configuration of an LDAP identity source is correct before actually creating the source.Request:
Method:
POST
URI Path(s):
/policy/api/v1/aaa/ldap-identity-sources?action=probe_identity_source
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ActiveDirectoryIdentitySource+
OpenLdapIdentitySource+
Example Request:
POST /policy/api/v1/aaa/ldap-identity-sources?action=probe { "resource_type": "ActiveDirectoryIdentitySource", "display_name": "Airius LDAP", "domain_name": "airius.com", "base_dn": "CN=Users, DC=airius, DC=com", "ldap_servers": [ "url": "ldap://ldap-vip01.corp.airius.com", "use_starttls": true, "certificate": "-----BEGIN CERTIFICATE----- <data> -----END CERTIFICATE-----", "bind_identity": "[email protected]", "password": "gSSs77w33yMp" ] }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LdapIdentitySourceProbeResults+