diff options
author | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2010-01-13 12:02:31 +0200 |
---|---|---|
committer | Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | 2010-01-13 12:02:31 +0200 |
commit | 9b3871ed293f76e770e572cd6b59f59670f1f6f8 (patch) | |
tree | 2b79286e3a6f7af9e26466393a0b26075a238be8 /source3/smbd/file_access.c | |
parent | 309473f938d18b9993c2c4f120eeff7b4641985a (diff) | |
parent | ca847952054f5bbde1d40ad4260589b6fcc9721d (diff) | |
download | samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.tar.gz samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.tar.bz2 samba-9b3871ed293f76e770e572cd6b59f59670f1f6f8.zip |
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3/smbd/file_access.c')
-rw-r--r-- | source3/smbd/file_access.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/smbd/file_access.c b/source3/smbd/file_access.c index 7d0a552956..631efce677 100644 --- a/source3/smbd/file_access.c +++ b/source3/smbd/file_access.c @@ -54,6 +54,17 @@ bool can_access_file_acl(struct connection_struct *conn, status = se_access_check(secdesc, conn->server_info->ptok, access_mask, &access_granted); ret = NT_STATUS_IS_OK(status); + + if (DEBUGLEVEL >= 10) { + DEBUG(10,("can_access_file_acl for file %s " + "access_mask 0x%x, access_granted 0x%x " + "access %s\n", + smb_fname_str_dbg(smb_fname), + (unsigned int)access_mask, + (unsigned int)access_granted, + ret ? "ALLOWED" : "DENIED" )); + NDR_PRINT_DEBUG(security_descriptor, secdesc); + } out: TALLOC_FREE(secdesc); return ret; |