Sun Java Communications Suite 5 Installation Guide

Directory Preparation Tool Silent Mode Syntax

The following are all the options for running in the silent mode:


perl comm_dssetup.pl
    -i yes|no
    -R yes|no
    -c DirectoryServerRoot
    -d DirectoryInstance
    -r DCTreeSuffix
    -u UserGroupSuffix
    -s yes|no
    -D DirectoryManagerDN
    -w DirectoryManagerPassword
    -b yes|no -t 1|1.5|2
    -m yes|no
   [-S PathtoSchemaFiles]
               
Table 8–1 Explanation of Options for RunningDirectory Preparation Tool in Silent Mode

Option and Argument 

Description 

-i yes|no

Answers the question: “Do you want to configure new indexes?” 

yes Add new Directory Server indexes.

no Do not add indexes.

-R yes|no

Answers the question: “Do you want to reindex now?” The -m option must be yes also for this to take effect.

-c DirectoryServerRoot

Directory Server root path. For example: /var/opt/mps/ldap

-d DirectoryInstance

Directory Server instance subdirectory. For example: slapd-varrius

-r DCTreeSuffix

DC tree root suffix. (for Schema 1 and Schema 2 compatibility modes only) 

For example: dc=varrius,dc=sesta,dc=com

-u UserGroupSuffix

User and group root suffix. For example: dc:west,dc=sesta,dc=com

-s yes|no

Answers the question: “Do you want to update the schema?” 

yes Update the schema. You must have a config directory with the schema files.

no Do not update schema.

-D DirectoryManagerDN

Directory Manager Distinguished Name (DN). The value must be enclosed by double quotation marks (" ") to allow the Directory Preparation Tool to interpret a value with a space correctly.

For example: "cn=Directory Manager"

-w DirectoryManagerPassword

Directory Manager DN password. 

-b yes|no

Answers the question: “Will this directory server be used for users and groups?” 

yes Use this directory to store both configuration and user group data.

no Use this directory to store only configuration data.

-t 1|1.5|2

Schema version: 

  • 1 Sun LDAP Schema 1

  • 1.5 Sun LDAP Schema 2 Compatibility Mode

  • 2 Sun LDAP Schema 2 Native Mode

-m yes|no

Answers the question: “Do you want to modify the directory server?” 

yes Modify the Directory Server without prompting the user.

no Do not modify the Directory Server without prompting the user.

-S PathtoSchemaFiles

Path to the directory where the schema files are located. For example: ./schema