D.44. tarantella object new_orgunit

Creates one or more organizational unit (OU) objects. See Section C.1.6, “Directory: Organizational Unit Object”.

Syntax

tarantella object new_orgunit {
                                --name obj
                              [ --description text ]
                              [ --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 ]
                              [ --xorgrandr 2|1|0 ]
                              } | --file file

Description

The following table shows the available options for this command.

Option

Description

More Information

--name

The name of the organizational unit object in the SGD datastore.

Section C.2.84, “Name”

--description

A text description of the object.

Section C.2.29, “Comment”

--inherit

Whether the assigned applications for the object also includes the assigned applications for the object's parent.

Section C.2.62, “Inherit Assigned Applications from Parent”

--conntype

The connections that are allowed between the client device and the SGD server.

Section C.2.32, “Connections”

--cdm

The drives on a Microsoft Windows client device that can be accessed from applications running on application servers.

Section C.2.19, “Client Drive Mapping”

--userprintingconfig

Enables user-specific printing configuration.

Section C.2.21, “Client Printing: Override”

--mapprinters

The client printers users can print to when printing from Windows applications.

Section C.2.20, “Client Printing”

--pdfenabled

Enables users to print using the SGD “Universal PDF Printer” printer when printing from Windows applications.

Section C.2.106, “Universal PDF Printer”

--pdfviewerenabled

Enables users to print using the SGD “Universal PDF Viewer” printer when printing from Windows applications.

Section C.2.107, “Universal PDF Viewer”

--pdfdriver

The printer driver to use for SGD PDF printing when printing from Windows applications.

Section C.2.89, “Postscript Printer Driver”

--pdfisdefault

Sets the SGD “Universal PDF Printer” printer as the client's default printer when printing from Windows applications.

Section C.2.74, “Make Universal PDF Printer the Default”

--pdfviewerisdefault

Sets the SGD “Universal PDF Viewer” printer as the client's default printer when printing from Windows applications.

Section C.2.75, “Make Universal PDF Viewer the Default”

--links

Defines the assigned applications for an object.

Section C.2.12, “Assigned Applications Tab”

--editprofile

Whether users can create and edit profiles for use with the SGD Client.

Section C.2.22, “Client Profile Editing”

--clipboard

Whether users can use copy and paste in Windows or X application sessions.

Section C.2.35, “Copy and Paste”

--serialport

Whether users can access the serial ports on a client device from a Windows application.

Section C.2.95, “Serial Port Mapping”

--orgxrandr

Whether the RANDR X extension can be used for application sessions.

Section C.2.92, “RandR Extension”

--file

Batch file used to create multiple objects within the organizational hierarchy.

 

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

Examples

The following example creates a new OU object with the name IT, belonging to the organization object Example, which must already exist. This OU inherits assigned applications from its parent, the organization object. Connections for all users in the OU are secure (SSL-based) unless their user profile objects are configured to give a different type of connection.

$ tarantella object new_orgunit \
--name "o=Example/ou=IT" \
--inherit true --conntype '*:*:SSL'

The following example creates three OU objects using a batch script defined as a “here-document”. The OU Administration belongs to the OU Finance, just created. You can alternatively store the batch script in a file, and reference it using --file filename.

$ tarantella object new_orgunit --file - <<EOF
--name "o=Example/ou=IT"
--name "o=Example/ou=Finance"
--name "o=Example/ou=Finance/ou=Administration"
EOF