[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Sat May 22 00:59:23 MDT 2010


The branch, master has been updated
       via  d7542b5... If using fake oplocks, use the correct SMB2 type code for "no oplock".
      from  625ffba... s4:libnet: use the new generated config from the provision for the self_join

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d7542b58fcb0d9a67a20bde5bdf3aec6fd633237
Author: Jeremy Allison <jra at samba.org>
Date:   Fri May 21 23:59:54 2010 -0700

    If using fake oplocks, use the correct SMB2 type code for "no oplock".
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/smb2_create.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index ed70271..77fd607 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;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list