Resetting the LDAP changelog location using dsconfig non-interactive mode
Steps
-
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>/dblocation.$ 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.
-
If the LDAP changelog backend at the previous location is enabled:
-
Stop the server.
-
Copy the database files to the new LDAP changelog location.
-
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.
-