summaryrefslogtreecommitdiff
path: root/source4/smbd/process_prefork.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-23 14:50:56 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-23 14:52:18 +1100
commit890e7719cf679108e7a74a660f20a40a32d7d552 (patch)
tree0f46850631f62337a32dd4b76b209c7f56a9e367 /source4/smbd/process_prefork.c
parent906961cd8ce4a68117fbb5dc96bfb4f5379daa5b (diff)
downloadsamba-890e7719cf679108e7a74a660f20a40a32d7d552.tar.gz
s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.c
Diffstat (limited to 'source4/smbd/process_prefork.c')
-rw-r--r--source4/smbd/process_prefork.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index db5633b9f26..f890a528d52 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -25,7 +25,6 @@
#include "includes.h"
#include "lib/events/events.h"
-#include "../tdb/include/tdb.h"
#include "lib/socket/socket.h"
#include "smbd/process_model.h"
#include "param/secrets.h"
@@ -57,10 +56,6 @@ static void prefork_model_init(struct tevent_context *ev)
static void prefork_reload_after_fork(void)
{
- /* tdb needs special fork handling */
- 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 */