PUT /ldapClientSettings
Use this method to modify the client settings when an external LDAP server is used for authentication..
Authentication
Authentication with username and password is required.
Request URL
PUT https://{management_server_IP}/ldapClientSettings
Query parameters
None
Request body
Attributes | Required / Optional | Type | Description | |
---|---|---|---|---|
bindingMethod | Required | String | Method that is used to bind XClarity Administrator to the external authentication server. This can be one of the following values.
| |
clientDn | Required if userAuthenticationMethod is set to ldap. | String | Distinguished name of the client | |
clientPw | Required if userAuthenticationMethod is set to ldap. | String | Client password value Note This attribute is required when | |
domainName | Required if serverSelectMethod is set to dns | String | Domain name used by DNS to locate LDAP servers | |
forestName | Optional | String | Forest name used by DNS to locate LDAP servers | |
groupFilters | Optional | String | Groups search filters to customize the authentication process when configuring XClarity Administrator with an external LDAP server For information about search filter syntax, see How to write LDAP search filters. For search filter examples, see Examples of Common ldapsearches | |
groupNameAttribute | Optional | String | Attribute name that is used to identify the group name that is configured by the LDAP server The default is uid. | |
groupSearchAttribName | Optional | String | Attribute name that is used to identify the groups to which a user belongs If this attribute is not specified, the default is memberOf. | |
rootDn | Optional | String | Root distinguished name with the topmost entry in your LDAP directory tree | |
searchLimit | Optional | Integer | Maximum number of in-search results that can be retrieved in an LDAP search operation using user and group filters This can be a value from 0 – 5000. The default value is 0, which means that the operation does not time out. | |
serverAddress | Required if serverSelectMethod is set to preconfigured. | Array of objects | Array of up to four LDAP server addresses and ports | |
port | Required for specified entries | Integer | Port number of the server connection | |
address | Required for specified entries | String | IP address for the server | |
serverSelectMethod | Required if userAuthenticationMethod is set to ldap. | String | Specifies how LDAP servers are to be selected. This can be one of the following values.
Note This attribute is required when | |
sslEnabled | Required | Boolean | Indicates if SSL is enabled. This can be one of the following values.
| |
timeout | Optional | Integer | Amount of time, in seconds, to complete an LDAP search operation before timing out This can be a value from 0 – 300 (5 minutes). The default value is 0. | |
userAuthenticationMethod | Required | String | Type of user authentication. This can be one of the following values.
| |
userFilters | Optional | String | Users search filters to customize the authentication process when configuring XClarity Administrator with an external LDAP server For information about search filter syntax, see How to write LDAP search filters. For search filter examples, see Examples of Common ldapsearches | |
userSearchAttribName | Optional | String | Attribute name that is used to identify the user IDs on the LDAP server When the binding method is set to Configured Credentials, the initial bind to the LDAP server is followed by a search request that retrieves specific information about the user, including the user's DN, login permissions, and group membership. This search request must specify the attribute name that represents the user IDs on that server. If this attribute is not specified, the default is cn. | |
useServersAsGlobalCatalogs | Optional | Boolean | Indicates whether to treat domain controllers as global catalogs. This can be one of the following values.
|
{
"bindingMethod": "configured_credentials",
"clientDn": "userid",
"clientPw": "Passw0rd",
"domainName": "lenovo.com",
"forestName": "forestName",
"groupNameAttribute": "cn",
"groupSearchAttribName": "memberOf",
"rootDn": "rootDn",
"serverAddress": [{
"port": 1,
"address": "1.1.1.1"
},
{
"port": 2,
"address": "2.2.2.2"
},
{
"port": 3,
"address": "3.3.3.3"
},
{
"port": 4,
"address": "4.4.4.4"
}],
"serverSelectionMethod": "dns",
"sslEnabled": true,
"userAuthenticationMethod": "ldap",
"userSearchAttribName": "cn"
"useServersAsGlobalCatalogs" : true
}
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
409 | Conflict | There is a conflict with the current state of the resource. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
result | String | Results of the request. This can be one of the following values.
| ||
messages | Array of objects | Information about one or more messages | ||
id | String | Message identifier of a returned message | ||
text | String | Message text associated with the message identifier | ||
explanation | String | Additional information to clarify the reason for the message | ||
recovery | Array of objects | Recovery information | ||
text | String | User actions that can be taken to recover from the event | ||
URL | String | Link to the help system for more information, if available |
{
"result": "failure",
"messages": [{
"id": "FQXHMSE0611J",
"explanation": "The request to change the LDAP configuration could not complete for an unknown
reason.",
"recovery": {
"text": "Specify valid parameters on the request and try the request again. If the problem
persists, contact Support.",
"URL": ""
},
"text": "The request to change the LDAP configuration could not be completed successfully."
}]
}