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

Reminder

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

upgrade

Command Reference 10

OceanStor 18500 V3 and 18800 V3 Mission Critical Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
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_config

change domain ad_config

Function

The change domain ad_config command is used to change the name, site, and machine account of the domain controller, determine whether to overwrite the existing machine account when the disk array joins the AD domain, as well as determine whether to join or exit the domain.

Format

change domain ad_config { domain_name=? | ntlm_level=? | organization_unit=? | cluster_name=? site_name=? | ddns_enable=? | join_domain_enabled=? username=? password=? [overwrite_same_account=?]} *

Parameters

Parameter

Description

Value

domain_name=? Indicates the name of the domain that the disk array joins.

The value is a character string that consists of 1 to 127 characters.

ntlm_level=? Indicates the security level of the NTLM verification.

The value is an integer ranging from 0 to 4.

join_domain_enabled=? Indicates whether to join the domain.

The value can be "yes" or "no", where

  • "yes": joins the domain.
  • "no": exits the domain.
organization_unit=? Indicates the organization unit that is added when the disk array joins the domain.

The value is a character string that consists of 1 to 255 characters.

username=? Indicates the user name of the domain controller that has the permission to add a machine account.

The value is a character string that consists of 1 to 63 characters.

password=? Indicates the password of the domain controller user that has the permission to add a machine account.

The value is a character string that consists of 1 to 127 characters.

cluster_name=? Indicates the machine account when the disk array joins the domain.

The value must contain 1 to 15 letters, digits, and hyphens (-), and cannot contain spaces or periods (.). The name cannot be a string of digits.

overwrite_same_account=? Indicates whether to overwrite the existing machine account when the disk array joins the domain.

The value can be "yes" or "no", where

  • "yes": The existing machine account is to be overwritten.
  • "no": The existing machine account is not to be overwritten.
site_name=? Indicates the site where the domain controller resides when the disk array joins the domain.

The value is a character string that consists of 1 to 255 characters.

ddns_enable=? Indicates whether the DNS server update is allowed.

The value can be "yes" or "no", where

  • "yes": the DNS server update is allowed.
  • "no": the DNS server update is not allowed.

Level

Administrator

Usage Guidelines

When parameter "join_domain_enable" is configured, parameters "username" and "password" must be configured but parameter "overwrite_same_account" is optional. When parameter "join_domain_enable" is set to "no", only parameters "username" and "password" can be configured.

Example

  • Query the configuration information about the AD domain before the changes.

    admin:/>show domain ad
    Domain Status : Joined
    Full Domain Name : feitian.com
    NTLM Level : 0
    Organization Unit : ou
    Cluster Name : storage
    Site Name : china
    Join Domain Error Info : --
    DDNS Enabled : Enable
  • Change the configuration information about the AD domain.

    admin:/>change domain ad_config cluster_name=storage site_name=china ddns_enable=yes domain_name=feitian.com join_domain_enabled=yes ntlm_level=1 username=user1 password=******** organization_unit=huawei overwrite_same_account=yes
    Command executed successfully.
  • Query the configuration information about the AD domain after the changes.

    admin:/>show domain ad
    Domain Status : Joined
    Full Domain Name : feitian.com
    NTLM Level : 0
    Organization Unit : huawei
    Cluster Name : storage
    Site Name : china
    Join Domain Error Info : --
    DDNS Enabled : Enable

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000084078

Views: 306204

Downloads: 253

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