Got it

Config LDAP in HMM

Latest reply: Sep 30, 2021 16:49:12 433 8 2 0 0

Colleagues, good evening.


Today we want to share with you the case from our professional practice.


Our user encountered a problem when configuring LDAP for MM910 on the E9000 chassis.


[Description of the problem]


The initiator of the application wanted to configure LDAP for HMM (Hyper Management Module). He has already configured LDAP in iBMC for blade servers using his configuration, but when trying to apply it to HMM I encountered a mistake.


According to the instructions, the user needs to log in to System Management > Account Management > LDAP.


Next enable LDAP, do not use the certificate, use the LDAPS protocol, then specify the port and IP address of DC.In the "User Domain" field, specify CN=users, and two settings DC - DC=orgname and DC=ru. The settings were successfully applied.


Next, when adding role in the LDAP group, an error occurred, which is indicated invalid parameter value


(CN = ORG_ADM, OR = ..., OR = ..., DC = orgname, DC = ru)- data has been changed to preserve the confidentiality of user data.

HMM and LDAP


The user asked us to help solve this problem.


[ Analysis Problems]


We asked the initiator of the application to view the user and group properties, as well as to take screenshots. Our task was to define the path to the containers of users and groups respectively.

LDAP

From the data received from the user, we found that the path contains Cyrillic letters, not only Latin but also gaps in the path to the containers.


Provided path (changed to preserve data confidentiality):


CN= SrvAdmins, OU=IT_Admins, OU=Admins Accounts, OU=New Vasuki, OU=OUname, DC=SOMEorg, DC=en.


To determine the location of the problem, you need to know exactly the location of objects in the AD server (Active Directory), in AD only "built-in" folders can act as CN (Common Name), created folders can only be OU ( Organization Unit). In our example, it is clear that SrvAdmins should be a group and the container should be IT_Admins.


AD Path

LDAP


The structure should look like this:

LDAP



Since the first image has been edited, you do not see that the group name does not match the group name of the CN segment. It shouldn't be like this.


In principle, CN - ORG_ADM, can be deleted.


Another important point: the date, time and time zone should be the same on the LDAP server and in iBMC\HMM and should be the same as the current ones.If this condition is not fulfilled, LDAP authentication will not work.


[Solution]


An algorithm for further action was developed for the initiator of the break:



1. Remove the Russian letters, spaces from the AD path.


2. Correct the path to AD according to the recommendations provided above.


3. Display the correct date \ time in HMM and on the LDAP server.



HMM and iBMC blade servers have different mechanisms to work with LDAP, which explains why the same configuration is not suitable for HMM.


Reference to the instruction on how to work with LDAP:


https://support.huawei.com/enterprise/en/doc/EDOC1000015900/50fd510b/optional-configuring-ldap


After the user has followed all our recommendations, LDAP in HMM started working properly.


Thank you.

Well analyze
View more
  • x
  • convention:

little_fish
little_fish Created May 17, 2021 02:36:48 (0) (0)
Thanks  
How to config LDAP on HMM
View more
  • x
  • convention:

PanchakS
PanchakS Created Sep 26, 2021 11:35:12 (0) (0)
 
Good case, thanjs
View more
  • x
  • convention:

stephen.xu
stephen.xu Created Jun 4, 2021 00:48:33 (0) (0)
 
little_fish
little_fish Created Jun 4, 2021 02:06:47 (0) (0)
 
Good case against doubt. Knowing how to configure the equipment is a concern.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.