diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-24 13:27:00 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-24 13:27:00 -0800 |
commit | 85a44396a794ae456d4998a9d9dd5ceb37312999 (patch) | |
tree | 764fdee8bde28414ddaf9798b212f7c596e52242 /source3/smbd | |
parent | 47a8e77513686bbc492bbfdebbbd0bfb7f786063 (diff) | |
download | samba-85a44396a794ae456d4998a9d9dd5ceb37312999.tar.gz samba-85a44396a794ae456d4998a9d9dd5ceb37312999.tar.bz2 samba-85a44396a794ae456d4998a9d9dd5ceb37312999.zip |
Add debug messages to trace this if needed.
Jeremy.
(This used to be commit b628269b3260661cb4eeeab8c533b3129827ba62)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/posix_acls.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 40979cd6a2..dee5d8e7c9 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -3297,11 +3297,21 @@ static NTSTATUS append_parent_acl(files_struct *fsp, if (fsp->is_directory) { if (!(se->flags & SEC_ACE_FLAG_CONTAINER_INHERIT)) { /* Doesn't apply to a directory - ignore. */ + DEBUG(10,("append_parent_acl: directory %s " + "ignoring non container " + "inherit flags %u\n", + fsp->fsp_name, + (unsigned int)se->flags )); continue; } } else { if (!(se->flags & SEC_ACE_FLAG_OBJECT_INHERIT)) { /* Doesn't apply to a file - ignore. */ + DEBUG(10,("append_parent_acl: file %s " + "ignoring non object " + "inherit flags %u\n", + fsp->fsp_name, + (unsigned int)se->flags )); continue; } } @@ -3319,6 +3329,10 @@ static NTSTATUS append_parent_acl(files_struct *fsp, } if (k < psd->dacl->num_aces) { /* SID matched. Ignore. */ + DEBUG(10,("append_parent_acl: path %s " + "ignoring protected sid %s\n", + fsp->fsp_name, + sid_string_dbg(&se->trustee))); continue; } } |