過去のナビゲーションリンクのスキップSecure Global Desktop 4.31 管理者ガイド > コマンド > tarantella object new_host コマンド

tarantella object new_host コマンド

構文

過去のコマンド構文またはプログラムコードのスキップtarantella object new_host {
   --name obj
   --address address
 [ --description text ]
 [ --ntdomain dom ]
 [ --available true|false ]
 [ --auth trytta|nevertrytta|default ]
 [ --location location ]
 [ --hostlocale ll_tt ]
 } | --file file

説明

1 つ以上のホストオブジェクトを作成します。

複数のオブジェクトを一括で作成するには、--file オプションを使用します。他のオプションは、1 つのオブジェクトを作成する場合に使用します。

過去のコマンド構文またはプログラムコードのスキップtarantella object new_host \
  --name ".../_ens/o=Indigo Insurance/ou=Finance/cn=paris" \
  --address paris.indigo-insurance.com \
  --auth default \
  --location Europe-north

新規ホストオブジェクトを、共通名を paris として作成し、組織単位オブジェクト Finance に所属させます (所属先は既存のオブジェクトでなければなりません)。

過去のコマンド構文またはプログラムコードのスキップtarantella object new_host --file - <<EOF
  --name ".../_ens/o=Indigo Insurance/ou=Finance/cn=paris" \
  --address paris.indigo-insurance.com
  --name ".../_ens/o=Indigo Insurance/cn=brussels" \
  --address brussels.indigo-insurance.com
  --name ".../_ens/o=Indigo Insurance/ou=IT/cn=london" \
  --address london.indigo-insurance.com
EOF

「標準入力」で入力したバッチスクリプトを使って、3 つのホストオブジェクトを作成します。標準入力の代わりに、バッチスクリプトをファイルに保存し、--file filename を使って参照することもできます。

関連トピック