diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-24 16:18:50 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-24 16:18:50 -0800 |
commit | 938f78546a4706f25d7b07efbca97a6b2d12d4b9 (patch) | |
tree | 745d8cca2a7d4bc1b2457727de8a4e2efca2db97 | |
parent | 6b594996a8dff0c6c663752f06a994c95020d869 (diff) | |
download | samba-938f78546a4706f25d7b07efbca97a6b2d12d4b9.tar.gz |
Make explicit in debug we're ignoring flags from the parent SD.
Jeremy
-rw-r--r-- | source/smbd/posix_acls.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index a861f776c68..636bebf5cf3 100644 --- a/source/smbd/posix_acls.c +++ b/source/smbd/posix_acls.c @@ -3196,9 +3196,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 { @@ -3206,9 +3207,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; } } @@ -3227,9 +3229,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_static(&se->trustee))); + sid_string_static(&se->trustee), + parent_name)); continue; } } |