]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Note url explaining this code.
authorJeremy Allison <jra@samba.org>
Tue, 14 Oct 2008 22:40:44 +0000 (15:40 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 14 Oct 2008 22:40:44 +0000 (15:40 -0700)
Jeremy.

source/smbd/posix_acls.c

index d798fa8da459b71bfe37bde6dc8eafb5c79f6ecb..65ec25190b7adeeadc1cb26976115a6292792c37 100644 (file)
@@ -3525,6 +3525,10 @@ NTSTATUS set_nt_acl(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd)
 
        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|