svn commit: samba r4583 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Fri Jan 7 02:13:07 GMT 2005


Author: tridge
Date: 2005-01-07 02:13:07 +0000 (Fri, 07 Jan 2005)
New Revision: 4583

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

Log:
print which bit failed in the owner bits check

Modified:
   branches/SAMBA_4_0/source/torture/raw/acls.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/acls.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/acls.c	2005-01-07 01:56:19 UTC (rev 4582)
+++ branches/SAMBA_4_0/source/torture/raw/acls.c	2005-01-07 02:13:07 UTC (rev 4583)
@@ -847,6 +847,10 @@
 		io.ntcreatex.in.access_mask = bit;
 		status = smb_raw_open(cli->tree, mem_ctx, &io);
 		if (expected_bits & bit) {
+			if (!NT_STATUS_IS_OK(status)) {
+				printf("failed with access mask 0x%08x of expected 0x%08x\n",
+				       bit, expected_bits);
+			}
 			CHECK_STATUS(status, NT_STATUS_OK);
 			CHECK_ACCESS_FLAGS(io.ntcreatex.out.fnum, bit | SEC_FILE_READ_ATTRIBUTE);
 			smbcli_close(cli->tree, io.ntcreatex.out.fnum);



More information about the samba-cvs mailing list