PingDirectory

Resetting the LDAP changelog location using dsconfig non-interactive mode

Steps

  1. If you have changed the LDAP changelog location, to reset it to its original location, use dsconfig.

    Example:

    The following command resets the LDAP changelog backend to <server-root>/db location.

    $ bin/dsconfig set-backend-prop --backend-name changelog \
      --reset "db-directory"

    Remember to include the LDAP connection parameters such as host name, port, bindDN, and bindPassword.

  2. If the LDAP changelog backend at the previous location is enabled:

    1. Stop the server.

    2. Copy the database files to the new LDAP changelog location.

    3. Restart the server.

      The server attempts to use whatever it finds in the configured location when it starts. If there is nothing there, it creates an empty database.