Sun Java System Communications Services 6 2005Q4 Delegated Administrator Guide

commadmin domain search

The commadmin domain search command obtains all the directory properties associated with a single domain. To obtain all the directory properties for multiple domains, use the -i option. When - S is specified in this command, only the domains having active specified services are displayed.


commadmin domain search -D login -n domain -w password [-d domain] [-h] [-?]
   [-i inputfile] [-p AM port] [-s] [-S service] [-t Search Template] [-v] [-V]
   [-X AM host]


The following options are mandatory:



-D login

The user ID of the user with permission to execute this command. 

-n domain

The domain of the user specified with the -D option.

-w password

The password of the user specified with the -D option.

The following options are non-mandatory:



-d domain

Search for this domain. If -d is not specified or -d* is specified, all domains are displayed.

-h, -?

Prints command usage syntax. 

-i inputfile

Reads the command information from a file instead of the command line. 

-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.


Use SSL (Secure Socket Layer) to connect to the Access Manager. 

-S service

Specifies the services to be searched in the active domains. 

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

The list of services is separated by the comma (,) delimiter. 

For Example: 

-S mail,cal

-t Search template

Specifies the name of the search templates to be used instead of the default search templates. Only active domains are displayed after the search. 


Enable debugging output. 


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.