HP StoreOnce Backup System CLI Reference Guide
cifs show localadmin
Description of Command Function
Lists the names of local administrators currently in the CIFS server BUILTIN\Administrators
group. Used when the CIFS server authentication mode is set to AD.
Command Syntax
cifs show localadmin [SETX]
Command Authority
Administrator
Command Object Requirements
SETX – This object defines the service set where the NAS share is to be created. X is the service
set numeric index. This object is required for a multi-node system and optional for a single-node
system. If this object is omitted for a single-node system, it defaults to SET1. If the object is specified
(either for a multi-node or single-node system), it must be specified in the exact position as given
by the command syntax (i.e., it must immediately follow the localadmin command).
Command Parameter Requirements
Not applicable - no parameters exist within this command.
Requirements for Command Execution
• The command entry must conform to command syntax.
• The service set SETX object must be valid.
Successful Command Output
Upon successful completion of the command, the following message is displayed, and then the
CLI user prompt is displayed:
Command Successful
Command Operation during Abnormal Conditions
If command execution fails, the following message is displayed, followed by a detailed error
message, and then the CLI returns to the user prompt:
The following list defines common detailed error messages and their meanings:
Command Failed
• If the command entered does not conform to the command syntax, the following is displayed.
Invalid number of arguments
• If a required service set was not specified, the following is displayed:
Service set ID (SETX) not specified
• If one of the parameters provided does not conform to the command syntax, the following is
displayed. X shows the invalid parameter.
Invalid parameter X
Examples
Example 1:
# cifs show localadmin set1
Admin: LOCAL\Administrator
Command Successful
cifs show localadmin 49