summaryrefslogtreecommitdiffstats
path: root/source4/torture/smb2/scan.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-20 10:46:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:11 -0500
commite306c5bf129a981693bd251d45597f1e584ee850 (patch)
tree54e78bf5ba441d9f780d1e987cd9ff72b0911f23 /source4/torture/smb2/scan.c
parent2de1d5f7a8c2a3a815d81c217c274d2d5f1768cb (diff)
downloadsamba-e306c5bf129a981693bd251d45597f1e584ee850.tar.gz
samba-e306c5bf129a981693bd251d45597f1e584ee850.tar.xz
samba-e306c5bf129a981693bd251d45597f1e584ee850.zip
r15741: move smb2 request structures into the main smb request structs
as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660)
Diffstat (limited to 'source4/torture/smb2/scan.c')
-rw-r--r--source4/torture/smb2/scan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/smb2/scan.c b/source4/torture/smb2/scan.c
index 8e339c40805..a1eb2e80e03 100644
--- a/source4/torture/smb2/scan.c
+++ b/source4/torture/smb2/scan.c
@@ -171,15 +171,15 @@ BOOL torture_smb2_find_scan(struct torture_context *torture)
}
ZERO_STRUCT(io);
- io.in.pattern = "*";
- io.in.continue_flags = SMB2_CONTINUE_FLAG_RESTART;
- io.in.max_response_size = 0x10000;
- io.in.handle = handle;
+ io.in.file.handle = handle;
+ io.in.pattern = "*";
+ io.in.continue_flags = SMB2_CONTINUE_FLAG_RESTART;
+ io.in.max_response_size = 0x10000;
for (i=1;i<0x100;i++) {
io.in.level = i;
- io.in.handle = handle;
+ io.in.file.handle = handle;
status = smb2_find(tree, mem_ctx, &io);
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) &&
!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) &&