HP StoreOnce Backup System CLI Reference Guide
cifs enable domainjoin
Description of Command Function
Causes the CIFS server to join to an Active Directory domain. Use this command after switching
the CIFS authentication mode to AD and specifying a domain to join using the cifs modify
config command.
NOTE: This command may take up to 120 seconds to complete.
Command Syntax
cifs enable domainjoin [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 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 domainjoin command).
Command Parameter Requirements
• name – This required parameter specifies the Active Directory user name.
• password – This required parameter specifies the user password.
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
Invalid number of arguments
• 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
40 Alphabetical List of Commands and Details