Queries the details of Lightweight Directory Access Protocol (LDAP).

Description

The API operation is available only for Cloud Paralleled File System (CPFS) file systems.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Prameter Type Required Example Description 
Action String Yes DescribeLDAPConfig

The operation that you want to perform. Set the value to DescribeLDAPConfig.

FileSystemId String Yes 1ca404a348

The ID of the file system.

Response parameters

Parameter Type Example Description 
RequestId String 5B4511A7-C99E-4071-AA8C-32E2529DA963

The ID of the request.

Ldap Struct

The details of LDAP.

BindDN String cn=alibaba,dc=com

The LDAP entry.

URI String ldap://ldap.example.example

The URL of an LDAP server.

SearchBase String dc=example

The LDAP search base.

Examples

Sample requests

GET https://nas.cn-hangzhou.aliyuncs.com/?Action=DescribeLDAPConfig
&FileSystemId=1ca404a348
&<Common request parameters>

Sample success responses

XML fomat

<DescribeLDAPConfigResponse>
    <RequestId>5B4511A7-C99E-4071-AA8C-32E2529DA963</RequestId>
</DescribeLDAPConfigResponse>

JSON format

{
  "RequestId": "5B4511A7-C99E-4071-AA8C-32E2529DA963",
  "Ldap": {
    "URI": "ldap://ldap.example.example",
    "BindDN": "cn=alibaba,dc=com",
    "SearchBase": "dc=example"
  }
}

Error codes

For a list of error codes, visit the API Error Center.