diff options
-rw-r--r-- | source3/smbd/smb2_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c index ed702717f3..77fd60795a 100644 --- a/source3/smbd/smb2_create.c +++ b/source3/smbd/smb2_create.c @@ -426,7 +426,7 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx, ZERO_STRUCT(out_context_blobs); if(lp_fake_oplocks(SNUM(smb2req->tcon->compat_conn))) { - requested_oplock_level = NO_OPLOCK; + requested_oplock_level = SMB2_OPLOCK_LEVEL_NONE; } else { requested_oplock_level = in_oplock_level; } |