[SCM] Samba Shared Repository - branch master updated - d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5

Jeremy Allison jra at samba.org
Tue Nov 4 07:54:32 GMT 2008


The branch, master has been updated
       via  d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5 (commit)
      from  6a37302b55dbf0bbb88247214b444a87e23e687a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d98e48c7cb5a5f2765afa874f09ec3e6cf4dd7a5
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Nov 3 23:54:05 2008 -0800

    Be more verbose about a directory ACL error.
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source4/torture/raw/acls.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c
index a07da8a..2a67bd9 100644
--- a/source4/torture/raw/acls.c
+++ b/source4/torture/raw/acls.c
@@ -1181,6 +1181,11 @@ static bool test_owner_bits(struct torture_context *tctx,
 			CHECK_ACCESS_FLAGS(io.ntcreatex.out.file.fnum, bit | SEC_FILE_READ_ATTRIBUTE);
 			smbcli_close(cli->tree, io.ntcreatex.out.file.fnum);
 		} else {
+			if (NT_STATUS_IS_OK(status)) {
+				printf("open succeeded with access mask 0x%08x of "
+					"expected 0x%08x - should fail\n",
+				       bit, expected_bits);
+			}
 			CHECK_STATUS(status, NT_STATUS_ACCESS_DENIED);
 		}
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list