diff options
author | Jeremy Allison <jra@samba.org> | 2010-05-21 23:59:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-05-21 23:59:54 -0700 |
commit | d7542b58fcb0d9a67a20bde5bdf3aec6fd633237 (patch) | |
tree | 31ed1f2d35fbaa1f24b6814d2e47d09c6bc7db6d | |
parent | 625ffba8ecaf0895382ce2469476e15480415248 (diff) | |
download | samba-d7542b58fcb0d9a67a20bde5bdf3aec6fd633237.tar.gz samba-d7542b58fcb0d9a67a20bde5bdf3aec6fd633237.tar.bz2 samba-d7542b58fcb0d9a67a20bde5bdf3aec6fd633237.zip |
If using fake oplocks, use the correct SMB2 type code for "no oplock".
Jeremy.
-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; } |