Help Center > > User Guide> Managing an Existing Cluster> Security Management> Changing the Password of the LDAP Administrator and the LDAP User

Changing the Password of the LDAP Administrator and the LDAP User

Updated at:Sep 08, 2020 GMT+08:00


Periodically change the passwords of LDAP administrator rootdn:cn=root,dc=hadoop,dc=com and LDAP user pg_search_dn:cn=pg_search_dn,ou=Users,dc=hadoop,dc=com to improve the system O&M security.

Impact on the System

All services need to be restarted for the new password to take effect. The services are unavailable during the restart.


  1. On the MRS cluster details page, click Components.

  2. Choose LdapServer > More > Change Password.
  3. In the Change Password dialog box, select the user whose password to be modified in the User Information drop-down box.
  4. Enter the old password in the Old Password text box, and enter the new password in the New Password and Confirm Password text boxes.

    The default password complexity requirements are as follows:

    • The password contains 16 to 32 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, digits, spaces, and special characters ('~!@#$%^&*()-_=+\|[{}];:'",<.>/?).
    • The password cannot be the username or the reverse username.
    • The new password cannot be the same as the current password.

    The default password of LDAP administrator rootdn:cn=root,dc=hadoop,dc=com is LdapChangeMe@123, and that of LDAP user pg_search_dn:cn=pg_search_dn,ou=Users,dc=hadoop,dc=com is pg_search_dn@123. Periodically change the passwords and keep them secure.

  5. Select I have read the information and understand the impact, and click OK to confirm the modification and restart the service.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel