D.41. tarantella object new_group

Creates one or more group objects. See Section C.1.10, “Group Object”.

Syntax

tarantella object new_group {
                              --name obj
                            [ --description text ]
                            [ --member obj... ]
                            [ --ldapusers user_dn... ]
                            [ --ldapgroups group_dn... ]
                            [ --ldapsearch search_string... ]
                            } | --file file

Description

The following table shows the available options for this command.

Option

Description

More Information

--name

The name of the group object.

Section C.2.84, “Name”

--description

A text description of the object.

Section C.2.29, “Comment”

--member

Member of the group object.

Section C.2.78, “Members Tab”

--ldapusers

Assigns the application to the specified LDAP users.

Section C.2.13, “Assigned User Profiles Tab”

--ldapgroups

Assigns the application to the specified LDAP groups.

Section C.2.13, “Assigned User Profiles Tab”

--ldapsearch

Assigns the application to the users that match the LDAP search criteria.

Section C.2.13, “Assigned User Profiles Tab”

--file

A file containing a batch of commands to configure application server load balancing.

 

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 group object with common name WinHosts, belonging to the organization object appservers. The group's members are the application server objects for the application servers rome, brussels, and berlin.

$ tarantella object new_group \
--name "o=appservers/cn=WinHosts" \
--member "o=appservers/ou=Sales/cn=rome" \
"o=appservers/cn=brussels" \
"o=appservers/ou=Marketing/cn=berlin" 

The following example creates three group objects using a batch script defined as a “here-document”. The groups have no members. You can use Section D.29, “tarantella object add_member” to add members later from the command line. You can alternatively store the batch script in a file, and reference it using --file filename.

$ tarantella object new_group --file - <<EOF
--name "o=appservers/cn=WinHosts"
--name "o=appservers/cn=UNIXHosts"
--name "o=applications/cn=Applications"
EOF