summaryrefslogtreecommitdiff
path: root/source4/torture/smb2
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-11-01 16:20:35 +0100
committerVolker Lendecke <vl@samba.org>2013-04-18 15:11:48 +0200
commit1bfc7e863e76124c287228b772c331bc5c9f8616 (patch)
tree50f85c07cc1442ca1d11ddecd527aff423f9809e /source4/torture/smb2
parent87685b30d7ab52193c54abacdab0b442bcc51a47 (diff)
downloadsamba-1bfc7e863e76124c287228b772c331bc5c9f8616.tar.gz
samba-1bfc7e863e76124c287228b772c331bc5c9f8616.tar.bz2
samba-1bfc7e863e76124c287228b772c331bc5c9f8616.zip
s4:torture/smb2: add NTCREATEX_SHARE_ACCESS_DELETE in smb2_generic_create_share()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r--source4/torture/smb2/util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 71e87f3961..7e882349c9 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -687,7 +687,6 @@ void smb2_generic_create_share(struct smb2_create *io, struct smb2_lease *ls,
if (dir) {
io->in.create_options = NTCREATEX_OPTIONS_DIRECTORY;
- io->in.share_access &= ~NTCREATEX_SHARE_ACCESS_DELETE;
io->in.file_attributes = FILE_ATTRIBUTE_DIRECTORY;
io->in.create_disposition = NTCREATEX_DISP_CREATE;
}