HP StoreOnce Backup System CLI Reference Guide
cifs enable user
Description of Command Function
Enables specific user authentication for the CIFS share. Used when the CIFS server authentication
mode is set to User.
Command Syntax
cifs enable user [SETX] SHAREX name <username>
Command Authority
Administrator
Command Object Requirements
SET
X
– 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 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).
SHARE
X
– Share index. X is the numeric share ID. This value can be found from the CLI command
nas show share setX all (see “nas show share” (page 106)). This object must be specified
in the exact position as given by the command syntax (i.e., it must immediately follow the user
command if the SETX object is omitted; otherwise, it must immediately follow the SETX object).
Command Parameter Requirements
name – This required parameter specifies the user name.
Requirements for Command Execution
• The command entry must conform to command syntax.
• The service set SETX object must be valid.
• The share SHAREX 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 the CLI returns to the user prompt:
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 X
• If a required service set was not specified, the following is displayed:
Service set ID (SETX) not specified
42 Alphabetical List of Commands and Details