No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change domain ad

change domain ad


The change domain ad command is used to configure active directory (AD) domain information.


change domain ad < admin_name > < domain_status > < full_domain_name > < system_name > [ OU=? ] [ site_name=? ] [overwrite_same_account=?]





admin_name Administrator name.

The value is 1 to 63 characters in length.

domain_status Whether to join the AD domain.

joined: joins the AD domain.

disjoin: exits the AD domain.

full_domain_name Full domain name.

Domain string using alphanumeric and -(hyphen) in one section and .(dot) between different sections. Section length is from 1 to 63 and total string length is from 1 to 127 and the first and last character can not be '-'.

system_name Name of the device that joined the domain.

The value is a combination letters, numbers, and hyphens (-) and is 1 to 15 characters in length. It cannot contain include periods (.). It cannot only contain numbers.

OU Organization unit.

The value is 1 to 256 characters in length.

site_name Site name.

The value is 1 to 256 characters in length.

overwrite_same_account Whether to overwrite the device account.
  • yes: overwrite the device account.
  • no: not overwrite the device account.
The default value is no.


Device administrator

Usage Guidelines

  • After entering basic parameters, you also need to enter the password for an administrator to join the AD domain.
  • After the change domain ad command is executed, run the show domain ad command to view details.


Configure active directory domain information.

admin:/>change domain ad administrator joined companytest
Please input your password:*************
Please input your password again:*************
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24967

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next