summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-24 16:13:53 -0800
committerJeremy Allison <jra@samba.org>2008-01-24 16:13:53 -0800
commit50c7e98a46a1c97011f37c78db8caddc634d6994 (patch)
tree9bd08540f4ed62232327d303067dcdd20775b701 /source3
parent85a44396a794ae456d4998a9d9dd5ceb37312999 (diff)
downloadsamba-50c7e98a46a1c97011f37c78db8caddc634d6994.tar.gz
samba-50c7e98a46a1c97011f37c78db8caddc634d6994.tar.bz2
samba-50c7e98a46a1c97011f37c78db8caddc634d6994.zip
Make explicit in debug we're ignoring flags from the parent SD.
Jeremy (This used to be commit 58cfa4b1bdc1ce30cc3befb342cc98ac0e283585)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/posix_acls.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index dee5d8e7c9..12e611f9cb 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -3299,9 +3299,10 @@ static NTSTATUS append_parent_acl(files_struct *fsp,
/* Doesn't apply to a directory - ignore. */
DEBUG(10,("append_parent_acl: directory %s "
"ignoring non container "
- "inherit flags %u\n",
+ "inherit flags %u from parent %s\n",
fsp->fsp_name,
- (unsigned int)se->flags ));
+ (unsigned int)se->flags,
+ parent_name));
continue;
}
} else {
@@ -3309,9 +3310,10 @@ static NTSTATUS append_parent_acl(files_struct *fsp,
/* Doesn't apply to a file - ignore. */
DEBUG(10,("append_parent_acl: file %s "
"ignoring non object "
- "inherit flags %u\n",
+ "inherit flags %u from parent %s\n",
fsp->fsp_name,
- (unsigned int)se->flags ));
+ (unsigned int)se->flags,
+ parent_name));
continue;
}
}
@@ -3330,9 +3332,11 @@ 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",
+ "ignoring protected sid %s "
+ "from parent %s\n",
fsp->fsp_name,
- sid_string_dbg(&se->trustee)));
+ sid_string_dbg(&se->trustee),
+ parent_name));
continue;
}
}