/admin/ldap/test-connectionTest connection to a specific LDAP/AD directory
Schema: dto.LdapTestConnectionRequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
directory_name |
string |
Yes |
| Status | Description | Schema |
|---|---|---|
| 200 | OK | gitee_com_linmes_authms_base_dto.DataResponse-dto_LdapTestConnectionResponse |
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
connected |
boolean |
No | |||
directory_name |
string |
No | |||
error |
string |
No | |||
latency_ms |
integer |
No | |||
mapping |
object |
No | extra keys: `string` | ||
success |
boolean |
No |
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
data |
dto.LdapTestConnectionResponse |
No | |||
message |
string |
No | |||
timestamp |
string |
No |