From e306c5bf129a981693bd251d45597f1e584ee850 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 20 May 2006 10:46:38 +0000 Subject: r15741: move smb2 request structures into the main smb request structs as new levels metze (This used to be commit 91806353174704857dfcc15a730af7232cfde660) --- source4/torture/smb2/scan.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/smb2/scan.c') diff --git a/source4/torture/smb2/scan.c b/source4/torture/smb2/scan.c index 8e339c4080..a1eb2e80e0 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) && -- cgit