This section applies only to MRS 3.1.0. For later versions, see Modifying OMS Service Configuration Parameters.
It is recommended that the administrator periodically changes the passwords of LDAP administrator accounts cn=krbkdc,ou=Users,dc=hadoop,dc=com and cn=krbadmin,ou=Users,dc=hadoop,dc=com to improve the system O&M security.
OLdap port number obtaining method:
ldapsearch -H ldaps://OMS_FLOAT_ IP address:OLdap port -LLL -x -D cn=krbkdc,ou=Users,dc=hadoop,dc=com -W -b cn=krbkdc,ou=Users,dc=hadoop,dc=com -e ppolicy
Enter the password of the LDAP administrator account krbkdc. If the following message is displayed, the account is locked. For details about how to unlock the account, see Unlocking LDAP Users and Management Accounts.
ldap_bind: Invalid credentials (49); Account locked
You have obtained the management node IP address.
cd ${BIGDATA_HOME}/om-server/om/meta-0.0.1-SNAPSHOT/kerberos/scripts
./okerberos_modpwd.sh
Enter the old password and then enter a new password twice.
The password complexity requirements are as follows:
If the following information is displayed, the password is changed successfully.
Modify kerberos server password successfully.
Enter the password and do not select Restart upper-layer services. Click OK to restart the KrbServer service.