Test Ldap
Tests that custom LDAP settings are valid, and that the system can use them to search for a user or group
Username to use when testing LDAP search
LDAP Settings to use for testing connection
{
"hostName": "string",
"port": 0,
"isSsl": false,
"isSslAcceptAll": false,
"realm": "string",
"pagedSearchDisabled": false,
"pageSize": 0,
"maxResults": 0,
"maxUserGroups": 0,
"searchBase": "string",
"userName": "string",
"password": "string",
"authenticationMechanism": "string",
"groupSearchBase": "string",
"isGroupSearchBaseEnabled": false,
"connectorType": "string",
"userAttributes": {
"objectClass": "string",
"objectIdentifier": "string",
"userName": "string",
"email": "string",
"fullName": "string",
"givenName": "string",
"surname": "string",
"telephone": "string",
"groupMembershipIdentifier": "string",
"groupBackLinkIdentifier": "string",
"domain": "string",
"managerIdentifier": "string"
},
"groupAttributes": {
"objectClass": "string",
"objectIdentifier": "string",
"groupName": "string",
"membership": "string",
"membershipIdentifier": "string",
"backLinkIdentifier": "string",
"domain": "string"
},
"useExternalKerberos": false,
"customUiButtonLabel": "string"
}
hostName
port
isSsl
isSslAcceptAll
realm
pagedSearchDisabled
pageSize
maxResults
maxUserGroups
searchBase
userName
password
authenticationMechanism
groupSearchBase
isGroupSearchBaseEnabled
connectorType
Defines how LDAP attributes are used when importing a user.
Defines how a group is imported from LDAP.
useExternalKerberos
customUiButtonLabel
OK
{
"connectionTest": {
"successful": false,
"error": {
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
},
"settingsTest": [
{
"attribute": "string",
"attributeValue": "string",
"result": "string",
"successful": false
}
]
}
This operation contains the following vendor extensions defined in the spec:
[{"type":"Classic"},{"type":"Modern"}]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/ldap/test