diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/process.c | 4 | ||||
-rw-r--r-- | source3/smbd/server.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index ab5f0b21e2..24d6ec3976 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -3337,6 +3337,10 @@ void smbd_process(struct tevent_context *ev_ctx, exit_server("Failed to init smb_signing"); } + if (!file_init(sconn)) { + exit_server("file_init() failed"); + } + /* Setup oplocks */ if (!init_oplocks(sconn)) exit_server("Failed to init oplocks"); diff --git a/source3/smbd/server.c b/source3/smbd/server.c index d6c7874fb8..36048632e0 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1436,8 +1436,8 @@ extern void build_options(bool screen); return -1; } - if (!file_init(smbd_server_conn)) { - DEBUG(0, ("ERROR: file_init failed\n")); + if (!file_init_global()) { + DEBUG(0, ("ERROR: file_init_global() failed\n")); return -1; } |