[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-106-g938f785

Jeremy Allison jra at samba.org
Fri Jan 25 00:19:25 GMT 2008


The branch, v3-0-test has been updated
       via  938f78546a4706f25d7b07efbca97a6b2d12d4b9 (commit)
      from  6b594996a8dff0c6c663752f06a994c95020d869 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit 938f78546a4706f25d7b07efbca97a6b2d12d4b9
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Jan 24 16:18:50 2008 -0800

    Make explicit in debug we're ignoring flags from the parent SD.
    Jeremy

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

Summary of changes:
 source/smbd/posix_acls.c |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c
index a861f77..636bebf 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;
 			}
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list