From fce0dcf2450f68fdc201152bdd063569bdcf1770 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 17 Apr 2006 11:42:59 +0000 Subject: r15100: Port the bugfix for #3569 to Samba4 (This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5) --- source4/smbd/process_standard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/smbd') diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c index 3708d034e1..e1affbbf89 100644 --- a/source4/smbd/process_standard.c +++ b/source4/smbd/process_standard.c @@ -105,7 +105,7 @@ static void standard_accept_connection(struct event_context *ev, socket_dup(sock2); /* tdb needs special fork handling */ - if (tdb_reopen_all() == -1) { + if (tdb_reopen_all(1) == -1) { DEBUG(0,("standard_accept_connection: tdb_reopen_all failed.\n")); } @@ -169,7 +169,7 @@ static void standard_new_task(struct event_context *ev, talloc_free(ev); /* tdb needs special fork handling */ - if (tdb_reopen_all() == -1) { + if (tdb_reopen_all(1) == -1) { DEBUG(0,("standard_accept_connection: tdb_reopen_all failed.\n")); } -- cgit