Password Encoding

The DATABridge Client password encryption utility runs on both Windows and UNIX systems. To encrypt the passwords in the DATABridge Client configuration file, follow these steps:

Note: If you previously entered passwords in the DATABridge Client configuration file, the password encryption utility overwrites them with the new passwords.

  1. In the DATABridge Client configuration file, make sure that the password and hostpassword entries are uncommented.

    [signon]

    user          = user1

    password      =

    datasource    = BANKDB_S

    hostpasswd    =

  2. Open a command prompt session and navigate to the directory that contains the dbpwenc executable file.
  3. Enter the following:

    dbpwenc options

    Option

    Description

    -h

    Displays help for the password encryption utility (dbpwenc).

    -p

    Prompts you for the relational database password to encrypt

    -q

    Prompts you for the Server Accessory password to encrypt

    -f filename

    filename is the name you have given the DATABridge Client configuration file. Use this option only when you have changed the configuration file name from its default (dbridge.cfg). If necessary, you can also include the directory path.

    Example:

    dbpwenc -f -p

    After the version and copyright statement, the password encryption utility prompts you to enter (and reenter for confirmation) the password(s). If prompted, uncomment the hostpasswd entry in the configuration file and run the password encryption utility again.

  4. As prompted, enter each new password and then reenter it for confirmation. Asterisks ( * ) appear instead of the actual characters that you type. The host password must match the password in the DBServer control file (DATA/SERVER/CONTROL) on the host.

    The DATABridge Client configuration file is updated with the encrypted password(s), similar to the following:

    [signon]

    user          = user1

    password      = 9610ac320e9571e0d35020d15190610412131816

    datasourse    = BANKDB_S

    hostpasswd    = e617dc2316120d0a371003031c00230067c99551

You can change the passwords at any time.