On Fri, Jan 29, 2021 at 11:07:19AM +0100, Prunk Dump wrote:
But now I don't know how to update my OpenLDAP database from the new generated LDIF files (when users are added, updated or removed) without disturbing the whole LDAP service (it's not a very good idea to delete the entire database and recreate it from the new LDIF file as it stop the service completely during the operation).
You could import it to a new directory, then stop the DB, move the new directory into place, and restart the DB. Irrespective of the import time, a directory rename (assuming old and new are on the same partition) is fast.
Thanks for the help.
Regards,
Baptiste.