HP StoreOnce Backup System CLI Reference Guide

cifs add user
Description of Command Function
The cifs add user command is Used when the CIFS server authentication is set to User. Adds
a user to the CIFS server.
Command Syntax
cifs add user [SETX] name <username> password <password>
Command Authority
Administrator
Command Object Requirements
SETX This object defines the service set where the NAS share is to be created. X is the numeric
index of the service set. This object is required for a multi-node system and optional for a single-node
system. If it 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 user command.
Command Parameter Requirements
name This required parameter specifies user name.
password This required parameter specifies the user password. Passwords must contain at
least eight characters and should not contain the single quotation mark (‘).
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 returns to the user prompt:
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 user prompt is displayed:
Command Failed
The following list defines common detailed error messages and their meanings:
If the command entered does not conform to the command syntax, the following is displayed:
Invalid number of arguments
If a parameter, which requires an argument value, was provided without an argument, the
following is displayed. X shows the name of the parameter.
Parameter X requires argument
If one of the parameters provided does not conform to the command syntax, the following is
displayed. X shows the invalid parameter.
Invalid parameter: password value: X
If a service set is required and was not specified, the following is displayed:
Service set ID (SETX) not specified
If an invalid password value is provided, the following is displayed. X shows the invalid
password that was provided.
Invalid parameter: password value: X
30 Alphabetical List of Commands and Details