Sun Java System Calendar Server 6 2005Q4 Administration Guide


csdomain [-q | -v] 
          -n node 
         create domain

csdomain [-q | -v] 
         {-a attr[=value] | 
          -f filename} 
         add domain

csdomain [-q | -v] 
         [-a attr | 
          -f filename] 
         delete domain

csdomain [-q | -v] 
         list domain

The following table describes the commands available for the csdomain utility.

Table D–13 csdomain Utility Commands




Create a new hosted domain in the LDAP directory. All Calendar Server users and resources for the domain are then created under this entry in the directory. 


Add a Calendar Server attribute and its associated value in the LDAP directory for a specific domain. If you add or update domain LDAP attributes using csdomain, restart Calendar Server for the new values to take effect. 


Delete a Calendar Server attribute in the LDAP directory for a specific hosted domain or delete all LDAP entries for an entire domain. 


Display Calendar Server attributes in the LDAP directory for a specific domain. 


Display the version of the utility. 

The following table describes the csdomain utility command options.

Table D–14 csdomain Utility Command Options




Run in verbose mode: Display all available information about the command being performed. Default is off. 


Run in quiet mode: 

  • Display no information if the operation is successful (errors, if they occur, are displayed).

  • Suppress confirmation prompting for dangerous commands.

    Default is off.

-a attr[=value]

Specifies the LDAP attribute property name and its optional value. 

For a list of these attributes and property names, see LDAP Attributes and Property Names.

-f filename

Specifies a text file that contains Calendar Server LDAP directory property names and their associated values.  

For example: 






-n node

Applies to the create command as follows: 

  • For LDAP Schema 1 – Specifies the node under which all users and resources are created. For example: o=node2,o=node1,o=sesta

  • For LDAP Schema 2 – Specifies the name of the node created for this domain. For example:

    If node is not specified, the domain name is used.


For the add, delete, and list commands, specifies an existing domain in the LDAP directory. 

For the create command, specifies the unique name of a new domain that will be created in the LDAP directory. 

For example: