summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/connect.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-18 09:25:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:25 -0500
commitc8c7fb2492d3f19939df67f98e4ea6ad423274da (patch)
treeb67057f342a564245eddc57270e21780125bbb98 /source4/torture/smb2/connect.c
parent799724aae7f431ef721b15745a89f01b12b10d9c (diff)
downloadsamba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.tar.gz
samba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.tar.bz2
samba-c8c7fb2492d3f19939df67f98e4ea6ad423274da.zip
r11775: added support for creating files on SMB2 with initial EA lists and an ACL
(This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
Diffstat (limited to 'source4/torture/smb2/connect.c')
-rw-r--r--source4/torture/smb2/connect.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/torture/smb2/connect.c b/source4/torture/smb2/connect.c
index 54f2920600..2307d8fffb 100644
--- a/source4/torture/smb2/connect.c
+++ b/source4/torture/smb2/connect.c
@@ -133,19 +133,6 @@ static struct smb2_handle torture_smb2_create(struct smb2_tree *tree,
struct smb2_create io;
NTSTATUS status;
TALLOC_CTX *tmp_ctx = talloc_new(tree);
- DATA_BLOB blob = data_blob(NULL, 0);
-
-#if 0 /* TODO: find out what this blob mean */
- uint8_t buf[0x18];
-
- SIVAL(buf, 0x00, 0x00000000);
- SIVAL(buf, 0x04, 0x00040010);
- SIVAL(buf, 0x08, 0x00180000);
- SIVAL(buf, 0x0C, 0x00000000);
- SBVAL(buf, 0x10, 0x006C00466341784DLLU);
-
- blob = data_blob_const(buf, 0x18)
-#endif
ZERO_STRUCT(io);
io.in.oplock_flags = 0;
@@ -158,7 +145,6 @@ static struct smb2_handle torture_smb2_create(struct smb2_tree *tree,
NTCREATEX_SHARE_ACCESS_WRITE;
io.in.create_options = NTCREATEX_OPTIONS_WRITE_THROUGH;
io.in.fname = fname;
- io.in.blob = blob;
status = smb2_create(tree, tmp_ctx, &io);
if (!NT_STATUS_IS_OK(status)) {