summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();