From 1fcd8c8a90a593d9ed88f73770a060f3d89d1673 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 8 Jul 2006 11:05:24 +0000 Subject: r16874: query all information metze (This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569) --- source4/torture/smb2/util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/smb2') diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c index cd5cfdafa6..da74e47c0a 100644 --- a/source4/torture/smb2/util.c +++ b/source4/torture/smb2/util.c @@ -160,7 +160,7 @@ static NTSTATUS smb2_create_complex(struct smb2_tree *tree, const char *fname, } /* make sure all the timestamps aren't the same */ - fileinfo.generic.level = RAW_FILEINFO_BASIC_INFORMATION; + fileinfo.generic.level = RAW_FILEINFO_SMB2_ALL_INFORMATION; fileinfo.generic.in.file.handle = *handle; status = smb2_getinfo_file(tree, tree, &fileinfo); @@ -171,7 +171,7 @@ static NTSTATUS smb2_create_complex(struct smb2_tree *tree, const char *fname, } #define CHECK_TIME(field) do {\ - if (setfile.basic_info.in.field != fileinfo.basic_info.out.field) { \ + if (setfile.basic_info.in.field != fileinfo.all_info2.out.field) { \ printf("(%s) " #field " not setup correctly: %s(%llu) => %s(%llu)\n", \ __location__, \ nt_time_string(tree, setfile.basic_info.in.field), \ -- cgit