diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/globals.h | 1 | ||||
-rw-r--r-- | source3/smbd/server.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 799cf17be6..435936ea0a 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -455,6 +455,7 @@ struct pending_auth_data; struct smbd_server_connection { const struct tsocket_address *local_address; const struct tsocket_address *remote_address; + struct messaging_context *msg_ctx; struct { bool got_session; } nbt; diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 3660abb659..7b788e8d1a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1013,6 +1013,8 @@ extern void build_options(bool screen); exit(1); } + smbd_server_conn->msg_ctx = smbd_messaging_context(); + smbd_setup_sig_term_handler(); smbd_setup_sig_hup_handler(); |