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

FusionServer Tools 2.0 uREST User Guide 16

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).
Setting LDAP Controller Information

Setting LDAP Controller Information

Function

Set LDAP controller information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD setldap -I {1,2,3,4,5,6} -A ADDRESS -p LDAPPORT -D DOMAIN -S {True,False}

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

-I {1,2,3,4,5,6}

Domain controller number. It is a mandatory parameter.

1 to 6

ADDRESS

LDAP server IP address. It is an optional parameter.

-

LDAPPORT

LDAP port. It is an optional parameter.

1 to 65535

DOMAIN

Domain name. It is an optional parameter.

The format is CN=test, DC=huawei, and DC=com.

-S {True,False}

Whether the certificate verification is enabled. It is an optional parameter.

True or False

Usage Guidelines

None

Example

Obtain help information.

[root@localhost bin]# ./urest -H 172.100.10.45 -U root -P ****** setldap -h 
usage: urest setldap [-h] -I {1,2,3,4,5,6} [-A ADDRESS] [-p LDAPPORT] 
                          [-D DOMAIN] [-S {True,False}] 

optional arguments: 
  -h, --help        show this help message and exit 
  -I {1,2,3,4,5,6}  LDAP controller ID 
  -A ADDRESS        LDAP service address 
  -p LDAPPORT       LDAP port, 1 to 65535 
  -D DOMAIN         user domain, example: User,DC=huawei,DC=ibmc,DC=com 
  -S {True,False}   certificate verification enabled

Set information for domain controller 1.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setldap -I 1 -A 172.100.20.35 -p 636 -D DC=huawei -S True 
Success: successfully completed request
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 121047

Downloads: 588

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next