[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4341-g40c1031

Jeremy Allison jra at samba.org
Thu Nov 6 09:46:56 GMT 2008


The branch, v3-3-test has been updated
       via  40c1031545c1b087d71d857667c8c23276d355bc (commit)
      from  630b6b7d28ce8e7dcce2dfa432271e9159a38f8e (commit)

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


- Log -----------------------------------------------------------------
commit 40c1031545c1b087d71d857667c8c23276d355bc
Author: Jeremy Allison <jra at samba.org>
Date:   Thu Nov 6 01:46:40 2008 -0800

    Final fix to make us pass NULL SD test in RAW-ACLs. Not sure if this is 100% right. Only inheritance left to fix.
    Jeremy.

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

Summary of changes:
 source/smbd/nttrans.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c
index 7673287..92c24ae 100644
--- a/source/smbd/nttrans.c
+++ b/source/smbd/nttrans.c
@@ -736,6 +736,9 @@ static NTSTATUS set_sd(files_struct *fsp, uint8 *data, uint32 sd_len,
 	if (psd->sacl==0) {
 		security_info_sent &= ~SACL_SECURITY_INFORMATION;
 	}
+	if (security_info_sent & DACL_SECURITY_INFORMATION) {
+		psd->type |= SEC_DESC_DACL_PRESENT;
+	}
 	if (psd->dacl==0) {
 		security_info_sent &= ~DACL_SECURITY_INFORMATION;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list