summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-04-17 11:42:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:09 -0500
commitfce0dcf2450f68fdc201152bdd063569bdcf1770 (patch)
tree66b5f21dfe9f79d0531eb68690516712638fadba /source4/smbd
parent573b2f75fbc1de1572ac885804a94ff8ae7d499a (diff)
downloadsamba-fce0dcf2450f68fdc201152bdd063569bdcf1770.tar.gz
samba-fce0dcf2450f68fdc201152bdd063569bdcf1770.tar.bz2
samba-fce0dcf2450f68fdc201152bdd063569bdcf1770.zip
r15100: Port the bugfix for #3569 to Samba4
(This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_standard.c4
1 files changed, 2 insertions, 2 deletions
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"));
}