Creates one or more domain component objects. See Section C.1.8, “Directory (Light): Domain Component Object”.
tarantella object new_dc { --nameobj
} | --filefile
To batch-create multiple objects, use the
--file
option. Use the other
options to create a single object.
The following example creates a new domain component object with
name com
, at the top level of the
organizational hierarchy.
$ tarantella object new_dc --name "dc=com"
The following example creates two domain component objects using a
batch script defined as a “here-document”. You can
alternatively store the batch script in a file, and reference it
using --file
filename
.
$ tarantella object new_dc --file - <<EOF --name "dc=com" --name "dc=com/dc=example" EOF