diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-08 11:05:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:56 -0500 |
commit | 1fcd8c8a90a593d9ed88f73770a060f3d89d1673 (patch) | |
tree | b98649432d0d19e1f33832285dad845a194a0317 /source4/torture | |
parent | 7c810db7da89c992a7886757b7aec68eef0cf3eb (diff) | |
download | samba-1fcd8c8a90a593d9ed88f73770a060f3d89d1673.tar.gz samba-1fcd8c8a90a593d9ed88f73770a060f3d89d1673.tar.bz2 samba-1fcd8c8a90a593d9ed88f73770a060f3d89d1673.zip |
r16874: query all information
metze
(This used to be commit 0ff9c5775724a4644dee10ce1476d728b515a569)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smb2/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
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), \ |