Skip past navigation linksSecure Global Desktop Administration Guide > Commands > The tarantella object new_dc command

The tarantella object new_dc command

Syntax

Skip past command syntax or program codetarantella object new_dc { --name obj
                         } | --file file

Description

Creates one or more domain component objects.

To batch-create multiple objects, use the --file option. Use the other options to create a single object.

Examples

Skip past command syntax or program codetarantella object new_dc \
  --name ".../_ens/dc=com"

Creates a new domain component object with name com, at the top level of the organizational hierarchy.

Skip past command syntax or program codetarantella object new_orgunit --file - <<EOF
  --name ".../_ens/dc=com"
  --name ".../_ens/dc=com/dc=indigo-insurance"
EOF

Creates two domain component objects using a batch script defined as a "here-document". You could alternatively store the batch script in a file, and reference it using --file filename.

Related topics