Verifies the LDAP service configuration of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:VerifyInstanceLDAPAuthServer |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Bastionhost instance. You can call the DescribeInstances operation to obtain this parameter. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
The region ID of the Bastionhost instance. For the mapping between region IDs and region names, see Regions and zones. |
cn-hangzhou |
| Server |
string |
Yes |
The address of the server. |
192.168.XX.XX |
| StandbyServer |
string |
No |
The address of the standby server. |
192.168.XX.XX |
| Port |
string |
Yes |
The port used to access the server. |
389 |
| IsSSL |
string |
No |
Specifies whether SSL is supported. Valid values:
|
true |
| BaseDN |
string |
Yes |
The Base DN. |
dc=test,dc=com |
| Account |
string |
Yes |
The account of the server. |
cn=Manager,dc=test,dc=com |
| Password |
string |
No |
The password of the server account. |
****** |
| Filter |
string |
No |
The filter condition for users. |
(objectClass=top) |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request. This parameter can be used for troubleshooting and issue locating. |
C9E97677-BD74-584B-AFCE-948C2A70BB83 |
Examples
Success response
JSON format
{
"RequestId": "C9E97677-BD74-584B-AFCE-948C2A70BB83"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The argument is invalid. | The argument is invalid. |
| 500 | InternalError | An unknown error occurred. | An unknown error occurred. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.