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

OceanStor 2200 V3 and 2600 V3 Storage System V300R005 Command Reference

"Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese commands."
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 a domain controller when the disk array joins an AD domain. It can also be used to join or exit a domain..

Format

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

Parameters

Parameter

Description

Value

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

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

ntlm_level=? Indicates the security level of NTLM verification.

The value is an integer between 0 and 4.

join_domain_enabled=? Indicates whether to join the domain or not.

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

  • yes: to join the domain.
  • no: to exit the domain.
organization_unit=? Indicates the organization unit of the machine account.

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

username=? Indicates the domain controller username that has the permission to add a machine.

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

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

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

cluster_name=? Indicates the machine account.

The value is a character string 1 to 15 characters in length containing both letters and numbers. The string may contain hyphens (-), but cannot contain spaces or periods (.).

site_name=? Indicates the site where the domain controller resides.

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

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

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

  • yes: to overwrite the existing machine account.
  • no: not to overwrite the existing machine account.

Level

Administrator

Usage Guidelines

When the "join_domain_enable" parameter is entered, "username" and "password" must be entered. If "join_domain_enable" is set to "no", only "username" and "password" can be specified.

This command does not support OceanStor 2200 V3 storage system.

Example

  • To query the configuration information about the AD domain before it is modified, run the following command.

    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 : --
  • To change the configuration information about the AD domain, run the following command:

    admin:/>change domain ad_config cluster_name=storage site_name=china domain_name=feitian.com join_domain_enabled=yes ntlm_level=1 username=user1 password=******** organization_unit=huawei
    Command executed successfully.
  • To query the configuration information about the AD domain after it is modified, run the following command.

    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 : --

System Response

None

Translation
Download
Updated: 2019-04-22

Document ID: EDOC1000106139

Views: 262110

Downloads: 178

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