lsdomain

Lists domains for use with user mappings.

Read syntax diagramSkip visual syntax diagram
>>-lsdomain--+--------+--+-----------------------------+-------->
             +- -?----+  |        .-default----------. |
             +- -h----+  '- -fmt--+-delim--character-+-'
             '- -help-'           '-xml--------------'

>--+--------------+--+----------------+--+-------------+-------->
   |      .-off-. |  |        .-on--. |  '- -r--number-'
   '- -p--+-on--+-'  '- -hdr--+-off-+-'

>--+--------------+--+-----+--+-------------+------------------><
   |      .-off-. |  +- -l-+  '-domain_name-'
   '- -v--+-on--+-'  '- -s-'

Parameters

–? | –h | –help
Displays a detailed description of this command, including syntax, parameter descriptions, and examples. If you specify a help option, all other command options are ignored.
–fmt
Specifies the format of the output. You can specify one of the following values:
default
Specify this value to display output in a tabular format using spaces as the delimiter between the columns. This is the default value.
delim character
Specify this value to display output in a tabular format using the specified character to separate the columns. If you use a shell metacharacter (for example, * or \t) as the delimiting character, enclose the character in single quotation marks (') or double quotation marks ("). A blank space is not a valid character.
xml
Specify this value to display output using XML format.
–p
Specifies whether to display one page of text at a time or all text at once.
off
Displays all text at one time. This is the default value when the sfscli command is run in single-shot mode.
on
Displays one page of text at time. Pressing any key displays the next page. This is the default value when the sfscli command is run in interactive mode.
–hdr
Specifies whether to display the table header.
on
Displays the table header. This is the default value.
off
Does not display the table header.
–r number
Specifies the number of rows per page to display when the –p parameter is on. The default is 24 rows. You can specify a value from 1 to 100.
–v
Specifies whether to enable verbose mode.
off
Disables verbose mode. This is the default value.
on
Enables verbose mode.
–l
Displays the domain name and the directory server type.
–s
Displays only the name of the domain.
domain_name
Specifies the name of a domain for which you want to list information. If you do not specify this parameter, this command lists both domains.

Prerequisites

You must have Operator or Administrator privileges to use the command.

You must be logged in to the operating system on the engine hosting the master metadata server to run this command.

Description

If you do not specify a domain, this command displays both domains.

Example

Lists domains. The following example lists both domains:
sfscli> lsdomain
Name                Type         
=================================
Window Domain       Windows® AD   
Unix Domain         UNIX® NIS    

Parent topic: Administrative commands

Related tasks
Listing domains

Related reference
lsusermap
mkdomain
mkusermap
refreshusermap
rmdomain
rmusermap

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2