summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 1a5d81f218..93d7861469 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -816,6 +816,9 @@ extern void build_options(bool screen);
NTSTATUS status;
uint64_t unique_id;
+ /* Initialize the event context, it will panic on error */
+ smbd_event_context();
+
smbd_init_globals();
TimeInit();