Home

My Favorites

Close

Please to see your favorites.

How to change the protected mobility database password

This document (7014675) is provided subject to the disclaimer at the end of this document.

Environment

Novell GroupWise Mobility Service
Novell Data Synchronizer

Situation

How to change or modify the protected mobility database user password
Unable to login to the datasync or mobility databases.
Forgot datasync_user password that grants access to the mobility db

Resolution

Download dsapp to change the Mobility Database password:

  1. See TID 7015282  - How to install dsapp on a Mobility server.
    Note: Once dsapp is installed, proceed with the steps below.

  2. Run dsapp with the Mobility db password switch:
    • From a terminal window:
      dsapp.sh -db

Additional Information

Note: To change the Database Password in 1.x: see Changing the Synchronizer Database Password.

To change the Database Password in 2.x, see the following manual steps:

  1. Type the following as root user to change datasync_user password
    su postgres -c "psql -c \"ALTER USER datasync_user WITH password 'newPassword';\""
  2. Make a backup copy by typing "cp /etc/datasync /etc/datasyncbak -v -R -p" and press Enter
  3. Edit /etc/datasync/configengine/configengine.xml
    • In the <database> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear text between the <password> tags as shown below
      <database>
            <username>datasync_user</username>
            <hostname>localhost</hostname>
            <db>datasync</db>
            <password>novell</password>
            <type>postgresql</type>
            <port>5432</port>
          </database>
    • In the <login> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear  text between the <password> tags as shown below
      <login>
              <dn>cn=admin,o=novell</dn>
              <password>novell</password>
      </login>
    • In the <notification> section, delete the <protected>1</protected> line
    • Delete the encrypted password between the <smtpPassword> tags
    • Type the password in clear  text between the <smtpPassword> tags as shown below
      <notification>
            <smtpPassword>novell</smtpPassword>
            <applicationTo>user@novell.com</applicationTo>
            <enabled>true</enabled>
            <smtpUser>user</smtpUser>
            <smtpHost>10.0.0.1</smtpHost>
            <systemTo>user@novell.com</systemTo>
            <smtpPort>25</smtpPort>
       </notification>
  4. Edit /etc/datasync/configengine/engines/default/engine.xml
    • In the <database> section, delete <protected>1</protected> line
    • Delete the encrypted password between the <password> tags
    • Type the password in clear  text between the <password> tags as shown below
      <database>
            <username>datasync_user</username>
            <hostname>localhost</hostname>
            <db>datasync</db>
            <password>novell</password>
            <type>postgresql</type>
            <port>5432</port>
      </database>
  5. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/connector.xml
    • Delete the <protected>1</protected> line
    • Delete the encrypted password between <dbpass> tags
    • Type the password in clear text between the <dbpass> tags as shown below
      <dbpass>novell</dbpass>
  6. Edit /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/groupwise/connector.xml
    • Delete the <protected>1</protected> line
    • Delete the encrypted trustedAppKey between <trustedAppKey> tags
    • Type the trustedAppKey in clear text between the <trustedAppKey> tags or copy it from the file that was used during the installation
  7. Type /opt/novell/datasync/update.sh and press Enter to encrypt the passwords.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7014675
  • Creation Date:03-MAR-14
  • Modified Date:04-NOV-14
    • NovellData Synchronizer
      GroupWise

Did this document solve your problem? Provide Feedback