diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-02-13 15:05:44 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-02-13 15:05:44 +1100 |
commit | d037dc23ced3df6bce98cbf4810fb5f1247336bd (patch) | |
tree | f55208e80ae8fb500010fb9b4432214d317778ef /source/torture/smb2/lock.c | |
parent | 11102681bcd70b0abb2df38bcdc7fdec51e71600 (diff) | |
download | samba-d037dc23ced3df6bce98cbf4810fb5f1247336bd.tar.gz |
updated SMB2 create operation to match WSPP.
Adding some defined for various new create options
Diffstat (limited to 'source/torture/smb2/lock.c')
-rw-r--r-- | source/torture/smb2/lock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/torture/smb2/lock.c b/source/torture/smb2/lock.c index 98e412817bc..3cf2e93ee04 100644 --- a/source/torture/smb2/lock.c +++ b/source/torture/smb2/lock.c @@ -238,10 +238,10 @@ static bool test_lock_read_write(struct torture_context *torture, CHECK_VALUE(lck.out.unknown1, 0); ZERO_STRUCT(cr); - cr.in.oplock_flags = 0; - cr.in.access_mask = SEC_RIGHTS_FILE_ALL; - cr.in.file_attr = FILE_ATTRIBUTE_NORMAL; - cr.in.open_disposition = NTCREATEX_DISP_OPEN_IF; + cr.in.oplock_level = 0; + cr.in.desired_access = SEC_RIGHTS_FILE_ALL; + cr.in.file_attributes = FILE_ATTRIBUTE_NORMAL; + cr.in.create_disposition = NTCREATEX_DISP_OPEN_IF; cr.in.share_access = NTCREATEX_SHARE_ACCESS_DELETE| NTCREATEX_SHARE_ACCESS_READ| |