#include "system/filesys.h"
#include "cluster/cluster.h"
#include "param/param.h"
+#include "lib/ldb_wrap.h"
#ifdef HAVE_SETPROCTITLE
#ifdef HAVE_SETPROCTITLE_H
if (tdb_reopen_all(1) == -1) {
DEBUG(0,("prefork_reload_after_fork: tdb_reopen_all failed.\n"));
}
+ ldb_wrap_fork_hook();
/* Ensure that the forked children do not expose identical random streams */
set_need_random_reseed();
#include "system/filesys.h"
#include "cluster/cluster.h"
#include "param/param.h"
+#include "lib/ldb_wrap.h"
#ifdef HAVE_SETPROCTITLE
#ifdef HAVE_SETPROCTITLE_H
if (tdb_reopen_all(1) == -1) {
DEBUG(0,("standard_accept_connection: tdb_reopen_all failed.\n"));
}
+ ldb_wrap_fork_hook();
tevent_add_fd(ev2, ev2, child_pipe[0], TEVENT_FD_READ,
standard_pipe_handler, NULL);
if (tdb_reopen_all(1) == -1) {
DEBUG(0,("standard_accept_connection: tdb_reopen_all failed.\n"));
}
+ ldb_wrap_fork_hook();
tevent_add_fd(ev2, ev2, child_pipe[0], TEVENT_FD_READ,
standard_pipe_handler, NULL);