Creates one or more organizational unit (OU) objects. See Section C.1.6, “Directory: Organizational Unit Object”.
tarantella object new_orgunit { --nameobj
[ --descriptiontext
] [ --inherit true|false ] [ --conntypetype_spec
... ] [ --cdmdrive_spec
... ] [ --userprintingconfig 1|0 ] [ --mapprinters 2|1|0 ] [ --pdfenabled 1|0 ] [ --pdfviewerenabled 1|0 ] [ --pdfdriverdriver_name
] [ --pdfisdefault 1|0 ] [ --pdfviewerisdefault 1|0 ] [ --linksobj
... ] [ --editprofile 2|1|0 ] [ --clipboard 2|1|0 ] [ --serialport 2|1|0 ] [ --xorgrandr 2|1|0 ] } | --filefile
The following table shows the available options for this command.
Option | Description | More Information |
---|---|---|
| The name of the organizational unit object in the SGD datastore. | |
| A text description of the object. | |
| Whether the assigned applications for the object also includes the assigned applications for the object's parent. | |
| The connections that are allowed between the client device and the SGD server. | |
| The drives on a Microsoft Windows client device that can be accessed from applications running on application servers. | |
| Enables user-specific printing configuration. | |
| The client printers users can print to when printing from Windows applications. | |
| Enables users to print using the SGD “Universal PDF Printer” printer when printing from Windows applications. | |
| Enables users to print using the SGD “Universal PDF Viewer” printer when printing from Windows applications. | |
| The printer driver to use for SGD PDF printing when printing from Windows applications. | |
| Sets the SGD “Universal PDF Printer” printer as the client's default printer when printing from Windows applications. | |
| Sets the SGD “Universal PDF Viewer” printer as the client's default printer when printing from Windows applications. | |
| Defines the assigned applications for an object. | |
| Whether users can create and edit profiles for use with the SGD Client. | |
| Whether users can use copy and paste in Windows or X application sessions. | |
| Whether users can access the serial ports on a client device from a Windows application. | |
| Whether the RANDR X extension can be used for application sessions. | |
| 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.
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