diff options
-rw-r--r-- | source3/smbd/service.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index c4d3486cdf..914cec86d8 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -709,6 +709,10 @@ static NTSTATUS make_connection_snum(struct smbd_server_connection *sconn, } } + if (lp_kernel_oplocks(snum)) { + init_kernel_oplocks(conn->sconn); + } + /* * Fix compatibility issue pointed out by Volker. * We pass the conn->connectpath to the preexec |