Active Directory ドメインに接続する
製品バージョン:10.11
最終更新日:2024年7月31日
ADドメインに接続します。
注意!!!
NAKIVO Backup & Replication がマルチテナントモードでインストールされている場合、APIの利用はマスターテナントでのみ可能です。
エンドポイント
https://<Director_IP_address>:4443/c/router
リクエスト例
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie cookies.txt \
--data '{
"action": "ADDomainManagement",
"method": "connectAD",
"data": [{
"domainName": "adtestvn.local",
"preferredDc": "10.30.30.1",
"username": "administrator",
"password": "password",
"integratedGroups": "users,domain users"}],
"type": "rpc",
"tid": 1}'
リクエストフィールド
|
フィールド |
種類 |
値(複数可) |
|---|---|---|
|
|
文字列 |
|
|
|
文字列 |
|
|
|
配列 |
要素が1つの配列:ADドメインの接続設定。以下のデータ表をご覧ください |
|
|
文字列 |
|
|
|
整数 |
|
データ
|
フィールド |
値 |
説明 |
|---|---|---|
|
|
文字列 |
ADドメイン |
|
|
文字列 |
優先するDC/ホスト(任意) |
|
|
文字列 |
ユーザー名 |
|
|
文字列 |
パスワード |
|
|
文字列 |
統合するADグループのカンマ区切りのリスト。例: |
回答例
{
"action": "ADDomainManagement",
"method": "connectAD",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": true
}
応答フィールド
|
フィールド |
種類 |
値(複数可) |
|---|---|---|
|
|
文字列 |
|
|
|
文字列 |
|
|
|
文字列 |
|
|
|
文字列 |
|
|
|
null |
|
where
|
null |
|
cause
|
null |
|
data
|
ブール値 | true
|