Note url explaining this code.
authorJeremy Allison <jra@samba.org>
Tue, 14 Oct 2008 22:39:02 +0000 (15:39 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 14 Oct 2008 22:39:02 +0000 (15:39 -0700)
Jeremy.

source3/smbd/posix_acls.c

index f129506716356574ca997cb27eede7903ca46962..848d3e4a6dd06f561c298bea7f295c812ff165e6 100644 (file)
@@ -3510,6 +3510,10 @@ NTSTATUS set_nt_acl(files_struct *fsp, uint32 security_info_sent, const SEC_DESC
 
        create_file_sids(&sbuf, &file_owner_sid, &file_grp_sid);
 
+       /* See here: http://www.codeproject.com/KB/winsdk/accessctrl2.aspx
+        * for details. JRA.
+        */
+
        if ((security_info_sent & DACL_SECURITY_INFORMATION) &&
                psd->dacl != NULL &&
                (psd->type & (SE_DESC_DACL_AUTO_INHERITED|