summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-28 22:36:06 +0100
committerVolker Lendecke <vl@samba.org>2012-02-28 23:36:15 +0100
commite916778e6eb34c956c5e6559bbf3f6dfd17a8ba1 (patch)
tree72cedf189f3ab0e5d8834cdab2299e6ce96d7629 /source3/smbd
parent6081fabe7e0f461ea7d288c40727d4fb5defce5d (diff)
downloadsamba-e916778e6eb34c956c5e6559bbf3f6dfd17a8ba1.tar.gz
samba-e916778e6eb34c956c5e6559bbf3f6dfd17a8ba1.tar.bz2
samba-e916778e6eb34c956c5e6559bbf3f6dfd17a8ba1.zip
s3: More fix for smbd -i
We need a full re-initialize, otherwise we don't re-init the USR1 signal handler
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 986eb21439..0fb7d16ef6 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -466,7 +466,7 @@ static void smbd_accept_connection(struct tevent_context *ev,
}
if (s->parent->interactive) {
- tevent_re_initialise(ev);
+ reinit_after_fork(msg_ctx, sconn->ev_ctx, true);
smbd_process(ev, sconn);
exit_server_cleanly("end of interactive mode");
return;