Adds Lightweight Directory Access Protocol (LDAP) parameters.
Description
The API operation is available only for CPFS file systems.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateLDAPConfig |
The operation that you want to perform. Set the value to CreateLDAPConfig. |
BindDN | String | Yes | cn=alibaba,dc=com |
The LDAP entry. |
FileSystemId | String | Yes | 109c042666 |
The ID of the file system. |
SearchBase | String | Yes | dc=example |
The LDAP search base. |
URI | String | Yes | ldap://ldap.example.example |
The LDAP Uniform Resource Identifier (URI). |
Response parameters
Parameter | Type | Sample response | Description |
---|---|---|---|
RequestId | String | 5B4511A7-C99E-4071-AA8C-32E2529DA963 |
The ID of the request. |
Examples
Sample requests
GET https://nas.cn-hangzhou.aliyuncs.com/?Action=CreateLDAPConfig
&FileSystemId=cpfs-xxx
&URI=[ldap://ldap.example.example]
&BindDN=[cn=alibaba,dc=com]
&SearchBase=[dc=example]
&<Common request parameters>
Sample success responses
XML
fomat
<CreateLDAPConfigResponse>
<RequestId>5B4511A7-C99E-4071-AA8C-32E2529DA963</RequestId>
</CreateLDAPConfigResponse>
JSON
format
{
"RequestId":"5B4511A7-C99E-4071-AA8C-32E2529DA963"
}
Error codes
For a list of error codes, visit the API Error Center.