Sun Java System Calendar Server 6.3 Administration Guide

D.9.2 Syntax

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 domain in the LDAP directory. 


Add a Calendar Server attribute and its associated value in the domain LDAP entry. If you add or update domain 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 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.


Specifies the LDAP attribute property name and its optional value. 

For a list of these attributes and property names, see D.9.3 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 version 1 – Specifies the node under which all users and resources are created. For example: o=node2,o=node1,o=sesta

  • For LDAP Schema version 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: