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 06

"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 ldap configuration

change ldap configuration

Function

The change ldap configuration command is used to modify the configuration information on Lightweight Directory Application Protocol (LDAP) servers.

Format

change ldap configuration { type=? | ip_list=? | port=? | over_ssl=? | base_dn=? | bind_dn=? | bind_password=? | user_search_path=? | group_search_path=? | user_id_attr=? | user_name_attr=? | group_id_attr=? | group_name_attr=? | group_member_attr=? | user_objectclass=? | group_objectclass=? } *

Parameters

Parameter

Description

Value

type=? Type of the LDAP server.

The value is case-insensitive and can be "LDAP" or "AD", where:

  • "LDAP": indicates the common openLDAP protocol.
  • "AD": indicates the Active Directory (AD) protocol.
ip_list=? IP addresses of employed LDAP servers.

The value can be a maximum of four IP addresses separated by commas (,). You can access the LDAP server by using any of the listed IP addresses.

port=? ID of the employed listening port on an LDAP server.

The value is an integer between 1 and 65535.

over_ssl=? Whether to enable SSL communication for an LDAP server.

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

  • "yes": The SSL function is used.
  • "no": The SSL function is not used.
The default value is "no".
base_dn=? A basic distinguished name (DN). This parameter defines a start point for searching on an LDAP directory server.

The value is in the format of cn=, ou=, dc=.

bind_dn=? A DN bound with an LDAP server. If anonymous binding is not available for an LDAP server, you must bind DNs before you can retrieve the information on users or user groups.

The value is in the format of cn=, ou=, dc=.

bind_password=? A password for a bound DN.

The value contains 1 to 63 characters.

user_search_path=? An LDAP directory server path under which users will be searched for.

The value is in the format of cn=, ou=, dc=.

group_search_path=? An LDAP directory server path under which user groups will be searched for.

The value is in the format of cn=, ou=, dc=.

user_id_attr=? Attribute of a user ID.

The default value can be "uidNumber" or "uSNCreated", where:

  • "uidNumber" when type=? is set to LDAP.
  • "uSNCreated" when type=? is set to AD.
user_name_attr=? Attribute of a user name.

The default value can be "uid" or "sAMAccountName", where:

  • "uid" when type=? is set to LDAP.
  • "sAMAccountName" when type=? is set to AD.
group_id_attr=? Attribute of a user group ID.

The default value can be "gidNumber" or "uSNCreated", where:

  • "gidNumber" when type=? is set to LDAP.
  • "uSNCreated" when type=? is set to AD.
group_name_attr=? Attribute of a user group name.

The default value can be "cn" or "sAMAccountName", where:

  • "cn" when type=? is set to LDAP.
  • "sAMAccountName" when type=? is set to AD.
group_member_attr=? Attribute of a user group member name.

The default value can be "uniqueMember" or "member", where:

  • "uniqueMember" when type=? is set to LDAP.
  • "member" when type=? is set to AD.
user_objectclass=? Name of a class to which a user belongs.

The default value can be "posixAccount" or "user", where:

  • "posixAccount" when type=? is set to LDAP.
  • "user" when type=? is set to AD.
group_objectclass=? Name of a class to which a user group belongs.

The default value can be "groupOfUniqueNames" or "group", where:

  • "groupOfUniqueNames" when type=? is set to LDAP.
  • "group" when type=? is set to AD.

Level

Super administrator

Usage Guidelines

  • The configuration information about the LDAP server must be consistent with that on the server end, otherwise the LDAP function may not work properly.
  • To ensure secure data transmission, you are advised to use Secure Sockets Layer(SSL) encryption.

Example

To modify the information on an LDAP server, where SSL encryption will be enabled, updated password for the bound DN is "7654321", the updated path under which user groups will be searched for is "ou=newpath", and the ID of the updated employed port is "4320", run the following command:

admin:/>change ldap configuration over_ssl=yes bind_password=****** group_search_path=ou=newpath port=4320
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-22

Document ID: EDOC1000106139

Views: 315031

Downloads: 204

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