Bir Bastionhost örneği için yapılandırılan Hafif Dizin Erişim Protokolü (LDAP) kimlik doğrulama sunucusunun bağlanabilirliğini test eder. LDAP ayarlarınızı kaydetmeden önce doğrulamak için bu işlemi kullanabilirsiniz.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-bastionhost:VerifyInstanceLDAPAuthServer |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Bastionhost örneğinin kimliği. Bu parametreyi almak için DescribeInstances işlemini çağırabilirsiniz. |
bastionhost-cn-st220aw**** |
| RegionId |
string |
No |
Bastionhost örneğinin bölge kimliği. Bölge kimlikleri ile bölge adları arasındaki eşleme için Bölgeler ve alanlar konusuna bakın. |
cn-hangzhou |
| Server |
string |
Yes |
Sunucunun adresi. |
192.168.XX.XX |
| StandbyServer |
string |
No |
Yedek sunucunun adresi. |
192.168.XX.XX |
| Port |
string |
Yes |
Sunucuya erişmek için kullanılan bağlantı noktası. |
389 |
| IsSSL |
string |
No |
SSL'nin desteklenip desteklenmediğini belirtir. Geçerli değerler:
|
true |
| BaseDN |
string |
Yes |
Temel DN. |
dc=test,dc=com |
| Account |
string |
Yes |
Sunucunun hesabı. |
cn=Manager,dc=test,dc=com |
| Password |
string |
No |
Sunucu hesabının parolası. |
****** |
| Filter |
string |
No |
Kullanıcılar için filtre koşulu. |
(objectClass=top) |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt şeması. |
||
| RequestId |
string |
İsteğin kimliği. Alibaba Cloud tarafından istek için oluşturulan benzersiz bir tanımlayıcıdır. Bu parametre, sorun giderme ve sorunları tespit etme amacıyla kullanılabilir. |
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.