API Guide
/api/AccountService/ExternalAccountProvider/Actions/
ExternalAccountProvider.TestLDAPConnection
This URI enables you to test the LDAP Directory Service connection.
POST method for ExternalAccountProvider.TestLDAPConnection
This method tests the LDAP Directory Service connection.
Description Tests the LDAP Directory Service connection.
Privilege SECURITY_SETUP
HTTP response
codes
200
Example
Example for ServerType: MANUAL
Input:
{
"Name": "seaquest",
"Id":1,
"ServerType": "MANUAL",
"ServerName": ["10.35.195.1"],
"UserName": "Admin",
"Password": "",
"ServerPort": 636,
"BaseDistinguishedName" : "dc=dell,dc=com",
"AttributeUserLogin": null,
"AttributeGroupMembership": null,
"NetworkTimeOut": 300,
"SearchTimeOut": 300,
"CertificateValidation": false,
"CertificateFile": ""
}
Output:
{
"Id": 2914,
"Name": "seaquest",
"ServerType": "MANUAL",
"ServerName": ["10.35.195.1"],
"UserName": "Admin",
"Password": null,
"ServerPort": 636,
"BaseDistinguishedName": "dc=dell,dc=com",
"AttributeUserLogin": null,
"AttributeGroupMembership": null,
"SearchFilter": null,
"NetworkTimeOut": 300,
"SearchTimeOut": 300,
"CertificateValidation": false,
"CertificateFile": ""
}
Example for ServerType: DNS
Input:
{
"Name": "LDAP",
"ServerType": "DNS",
"ServerName": [ ],
"DnsServer":
[
"dell.com"
],
"UserName": null,
"Password": "",
"ServerPort": 636,
"BindDN": null,
58
Application settings