IBM Support

Change or reset tdsadmin password in RDS Tivoli

Question & Answer


Question

How to manually change or reset the tdsadmin password in Rational Directory Sserver(RDS) Tivoli on Windows and Unix?

Cause

This change might be necessary if the tdsadmin operating system(OS)password was accidentally modified or if the tdsadmin password for logging into Rational Directory Administration is lost.

Answer

The steps to manually change or reset the tdsadmin password in RDS Tivoli are different for Windows and UNIX/Linux

Changing the tdsadmin password on Windows
  1. Shut down RDS
    This can be done by either
    <RDS_installation_location>\IBM\Rational\RDS\RDSUtility\Stop_RDS_Server.bat
    or

    [command prompt] net stop "IBM Tivoli Directory Server Instance V6.3 - tdsadmin"
    or
    [command prompt] net stop idsslapd-tdsadmin
    or
    [Windows services] stop the IBM Tivoli Directory Server Instance V6.3 - tdsadmin
    or
    [IBM Tivoli Directory Server Configuration Tool] Manage server state > Stop server
     
  2. Change the tdsadmin OS password on your Windows machine.
     
  3. Open Windows services and look for the IBM DB2 services.


     
  4. For each DB2 service started by tdsadmin, open its properties and update with the new tdsadmin password under the 'Log On' tab.
     
  5. Start the DB2 services. They should now be started successfully.
     
  6. Run the following command to reset the DB2 administrative user password. This password must match the new password specified for tdsadmin in step 2:
    <TDS_installation_location>\LDAP\V6.3\sbin\idscfgdb -I tdsadmin -w new_password -n
     
  7. Edit the ibmslapd.conf file located in
    c:\idsslapd-tdsadmin\etc\ and set the following:
     
    For "dn: cn=TDSAdminGroupEntry, cn=AdminGroup, cn=Configuration", set "ibm-slapdAdminPW: new_password".
    For example, if
    Original value: ibm-slapdAdminPW: {AES256}nLYf8VVP0+CuxcaLeFXHKw==
    Change it to
    New value: ibm-slapdAdminPW: <new_password>
  8. Start RDS by running the following script:
    <RDS_installation_location>\RDSUtility\Start_RDS_server.bat
    or
    [command prompt] net start "IBM Tivoli Directory Server Instance V6.3 - tdsadmin"
    or
    [command prompt] net start idsslapd-tdsadmin
    or
    [Windows services] start the IBM Tivoli Directory Server Instance V6.3 - tdsadmin
    or
    [IBM Tivoli Directory Server Configuration Tool] Manage server state > Start server
     
  9. Launch RDA in your web browser and verify that login is successful with the new password.

Changing tdsadmin password on Unix
  1. Shut down RDS by running with the following script:
    <RDS_installation_location>/RDSUtility/stop_rds_server.sh
     
  2. Change the tdsadmin OS password on your Unix machine.
     
  3. Run the following command to reset the DB2 administrative user password. This password must match the new password specified for tdsadmin in step 2:
    <TDS_installation_location>/ldap/V6.3/sbin/idscfgdb -I tdsadmin -w <new_password> -n
     
  4. Edit the ibmslapd.conf file located in:
    <RDS_installation_location>/Instance/idsslapd-tdsadmin/etc and set the following:
     
    For "dn: cn=Configuration",
    For example, if
    Original value: ibm-slapdPwEncryption: ssha
    Change it to
    New value: ibm-slapdPwEncryption: none
    For "dn: cn=TDSAdminGroupEntry, cn=AdminGroup, cn=Configuration", set "ibm-slapdAdminPW: new_password".
    For example, if
    Original value: ibm-slapdAdminPW: {AES256}nLYf8VVP0+CuxcaLeFXHKw==
    Change it to
    New value: ibm-slapdAdminPW: <new_password>
  5. Start RDS by running the following script:
    <RDS_installation_location>/RDSUtility/start_rds_server.sh
     
  6. Launch RDA in your web browser and verify that login is successful with the new password
     
  7. Exit RDA and again stop RDS as described in step 1.
     
  8. Open the ibmslapd.conf file for editing again as described in step 4 and encrypt the password:
    For " dn: cn=Configuration" set "ibm-slapdPwEncryption: ssha"
     
  9. Start RDS by running the following script:
    <RDS_installation_location>/RDSUtility/start_rds_server.sh

[{"Product":{"code":"SS4AKG","label":"Rational Directory Server"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"Tivoli","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2;5.2.0.1;5.2.0.2;5.2.1","Edition":"","Line of Business":{"code":"LOB15","label":"Integration"}}]

Document Information

Modified date:
04 April 2022

UID

swg21413301