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 9000 V5 7.0 Command Reference 04

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 ldap

change domain ldap

Function

The change domain ldap command is used to modify Lightweight Directory Access Protocol (LDAP) domain information.

Format

change domain ldap < server > < port > < transfer_type > < base_dn > [ user_path=? ] [ group_path=? ] [ netgroup_dn=? ] [ user_search_scope=? ] [ group_search_scope=? ] [ netgroup_search_scope=? ] [ timelimit=? ] [ idletimelimit=? ]

Parameters

Parameter

Description

Value

server LDAP server IP address.

The value is a character string in the format of an IP address.

port LDAP server port.

The value is an integer ranging from 1 to 65535.

The default value is 389.

transfer_type Underlying communication protocol type.

LDAP: The storage system uses the standard LDAP protocol to communicate with the LDAP server.

LDAPS: The storage system uses LDAP over Secure Sockets Layer (SSL) to communicate with the LDAP server. If the LDAP server supports SSL, you can select LDAPS.

base_dn Start directory for querying data in LDAP.

The value contains 1 to 255 characters.

user_path LDAP directory where user information resides.

The value contains 1 to 63 characters.

group_path LDAP directory where user group information resides.

The value contains 1 to 63 characters.

timelimit Timeout threshold of waiting for a response to an LDAP query request.
The value is an integer ranging from 0 to 2147483647.
NOTE:
"0" indicates no timeout limit.
idle_timelimit Timeout threshold of client connections when the LDAP connection is idle.
The value is an integer ranging from 0 to 2,147,483,647.
NOTE:
A value of 0 means no timeout limit.
netgroup_dn Filter criteria for querying netgroups. If this parameter is not configured, the querying starts from the root directory.

The value is in the format of "cn=?, ou=?, dc=?" and consists of 1 to 1024 characters.

user_search_scope Range for querying the user.

The value can be "subtree", "onelevel", or "base", where:

  • "subtree": queries all items at all levels, including the specified basic DN.
  • "onelevel": queries all items at the next level of the basic DN.
  • "base": only queries items under the basic DN.
group_search_scope Range for querying the group.

The value can be "subtree", "onelevel", or "base", where:

  • "subtree": queries all items at all levels, including the specified basic DN.
  • "onelevel": queries all items at the next level of the basic DN.
  • "base": only queries items under the basic DN.
netgroup_search_scope Range for querying the netgroup.

The value can be "subtree", "onelevel", or "base", where:

  • "subtree": queries all items at all levels, including the specified basic DN.
  • "onelevel": queries all items at the next level of the basic DN.
  • "base": only queries items under the basic DN.

Level

Device administrator

Usage Guidelines

To execute this command, you must specify at least one optional parameter.

Example

Modify Lightweight Directory Access Protocol domain information.

admin:/>change domain ldap 192.168.100.11 389 LDAP dc=company,dc=com group_path=ou=g,dc=company,dc=com user_path=ou=u,dc=company,dc=com netgroup_dn=dc=huawei,dc=com user_search_scope=subtree group_search_scope=subtree netgroup_search_scope=subtree timelimit=3 idle_timelimit=3 
Command executed successfully. 

System Response

None

Download
Updated: 2019-07-25

Document ID: EDOC1100067955

Views: 27485

Downloads: 7

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