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

The tarantella object new_orgunit command

Syntax

Skip past command syntax or program codetarantella object new_orgunit {
   --name obj
 [ --description text ]
 [ --webtop theme_name ]
 [ --inherit true|false ]
 [ --conntype type_spec... ]
 [ --cdm drive_spec... ]
 [ --userprintingconfig 1|0 ]
 [ --mapprinters 2|1|0 ]
 [ --pdfenabled 1|0 ]
 [ --pdfviewerenabled 1|0 ]
 [ --pdfdriver driver_name ]
 [ --pdfisdefault 1|0 ]
 [ --pdfviewerisdefault 1|0 ] 
 [ --links obj... ]
 [ --editprofile 2|1|0 ]
 [ --clipboard 2|1|0 ]
 [ --serialport 2|1|0 ] 
 } | --file file

Description

Creates one or more organizational unit (OU) 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_orgunit \
  --name ".../_ens/o=Indigo Insurance/ou=IT" \
  --inherit true \
  --conntype '*:*:SSL'

Creates a new OU object with name IT, belonging to the organization object Indigo Insurance (which must already exist). This OU inherits webtop content from its parent (the organization object). Connections for all users in the OU will be secure (SSL-based) unless their person objects are configured to give a different type of connection.

Skip past command syntax or program codetarantella object new_orgunit --file - <<EOF
  --name ".../_ens/o=Indigo Insurance/ou=IT"
  --name ".../_ens/o=Indigo Insurance/ou=Finance"
  --name ".../_ens/o=Indigo Insurance/ou=Finance/ou=Administration"
EOF

Creates three OU objects using a batch script defined as a "here-document". The OU Administration belongs to the OU Finance, just created. You could alternatively store the batch script in a file, and reference it using --file filename.

Related topics