svn commit: samba r16874 - in branches/SAMBA_4_0/source/torture/smb2: .

metze at samba.org metze at samba.org
Sat Jul 8 11:05:25 GMT 2006


Author: metze
Date: 2006-07-08 11:05:24 +0000 (Sat, 08 Jul 2006)
New Revision: 16874

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16874

Log:
query all information

metze
Modified:
   branches/SAMBA_4_0/source/torture/smb2/util.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/smb2/util.c
===================================================================
--- branches/SAMBA_4_0/source/torture/smb2/util.c	2006-07-08 08:34:35 UTC (rev 16873)
+++ branches/SAMBA_4_0/source/torture/smb2/util.c	2006-07-08 11:05:24 UTC (rev 16874)
@@ -160,7 +160,7 @@
 	}
 
 	/* 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 @@
 	}
 
 #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), \



More information about the samba-cvs mailing list