commadmin domain create

commadmin domain create

The commadmin domain create command creates a single domain in the LDAP directory. To create multiple domains, use the -i option.

Syntax

commadmin domain create –D login –d domain name –n domain –w password
   [–A [+] attributename:value] [–h] [–?] [–i inputfile] [–o organization RDN]
   [–p AM port] [–s] [–v] [–V] [–X AM host]
   [–S mail –H preferred mailhost]
   [–S cal [–B backend calendar data server] [–C searchable domains] [–g access control string]
   [–P propertyname[:value]] [–R right[:value]] [–T calendar time zone string] ]
   [–S im]

Options

The following options are mandatory:

Option Description
-D login The user ID of the Top-Level Administrator.
-d domain name DNS domain name of the domain that is being created.
-n domain The domain of the Top-Level Administrator.
-w password The password of the Top-Level Administrator.

The following options are non-mandatory:

Option Description
-A [+] attributename:value An attribute to modify. The attributename is defined in the LDAP schema and the value specified replaces any and all current values for this attribute in the directory. Repeat this option to modify multiple attributes at the same time, or to specify multiple values for the same attribute.

A “+” before the attributename indicates adding the value to the current list of attributes.

If the action value (+), is not specified, the default action is to add the existing value.
-h, -? Prints command usage syntax.
-i inputfile Reads the command information from a file instead of the command line.

An option value specified in the input file overrides any value for the same option set in the command line.
-o organization RDN Specifies the organization RDN for the domain. For example, o=varrius.florizel.com.

If this option is not specified, the organization is created under the osi suffix, with o= the name of the domain, o=osiSuffix.
-p AM port Specifies an alternate TCP port where the Access Manager is listening. If not specified, the default AM port is used, or Port 80 is used if no default was configured at install time.
-s Use SSL (Secure Socket Layer) to connect to the Access Manager.
-v Enable debugging output.
-V Prints information about the utility and its version.
-X AM host Specifies the host on which the Access Manager is running. If not specified, the default AM host is used, or the localhost if no default was configured at install time.
-S service Specifies the service or services to be added to the domain.

service can have the value of a single service or multiple services. The valid service values are mail, and cal, and im. These values are case-insensitive.

If the -S mail option is specified, then the -H option must be specified.

Can be listed as a comma-separated list.

For Example:

-S mail,cal,im

Delegated Administrator 7: -S im



AM provisioning mode: A domain is created with the services mentioned depending on the value of the particular service definition present in the configuration file of Access Manager.

The following option is only allowed if the -S mail option is specified:  
-H preferred mailhost The preferred mail host for the domain. The host must be a fully qualified host name, for example, mailhost.sesta.com.

This option is mandatory if the -S mail option is specified.
The following options are only allowed if the -S cal option is specified:  
-B backend calendar data server Specifies the default backend host assigned to a user or resource in a domain.
-C searchable domains Specifies the domains to be searched when looking for calendars or users.
-g access control string Specifies the Access Control List (ACL) for newly created user calendar.
-P  propertyname[:value] Sets values for multi-valued and bit oriented attributes. Refer to table Attribute Values for attributes, their descriptions and values.
-R  right[:value] Sets calendar domain attribute icsAllowRights. The attribute holds a bitmap value. See Attribute Values for a list of attributes, their value, and description.
-T calendar time zone string Specifies the time zone ID used when importing files.

See Calendar Time Zone Strings for a list of the valid time zone strings.

Example

To create a new domain with mail, calendar, and instant messaging services, enter:

commadmin domain create –D chris –d florizel.com –n sesta.com –w bolton \
–S mail,cal,im –H mailhost.sesta.com

Product Version Information
  • Current Features
    Features documented on this page were introduced in the following product release versions:
    • Delegated Administrator 7:
      • Direct LDAP domain creation (no dependence on AM)
      • Support for IM service

Labels

delegatedadministrator delegatedadministrator Delete
da da Delete
reference reference Delete
commadmin commadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact