The branch, master has been updated
       via  7522ef15aca2429ef57c75d8297dd8121e79c9da (commit)
      from  24c598b1b95742961d43ff5bd61831405b561dfe (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 7522ef15aca2429ef57c75d8297dd8121e79c9da
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Thu Nov 6 01:45: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:
 source3/smbd/nttrans.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f711b58..50a3aea 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -725,6 +725,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

Reply via email to