diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-18 08:07:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:09 -0500 |
commit | dd894d56267009f76977502d49a82ca34bdd8a41 (patch) | |
tree | 715115d5d76a2ef8d01af8e4cf8995f94597bbbb /source4 | |
parent | 859817e30ff809bda972e208e89191f53e097674 (diff) | |
download | samba-dd894d56267009f76977502d49a82ca34bdd8a41.tar.gz samba-dd894d56267009f76977502d49a82ca34bdd8a41.tar.bz2 samba-dd894d56267009f76977502d49a82ca34bdd8a41.zip |
r15117: add more comments
metze
(This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/posix/pvfs_open.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index 488f2d9568..9570fa08d9 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -143,7 +143,13 @@ static NTSTATUS pvfs_open_setup_eas_acl(struct pvfs_state *pvfs, /* setup an initial sec_desc if requested */ if (io->ntcreatex.in.sec_desc) { union smb_setfileinfo set; -/* TODO: set the full ACL! */ +/* + * TODO: set the full ACL! + * - vista denies the creation of the file with NT_STATUS_PRIVILEGE_NOT_HELD, + * when a SACL is present on the sd, + * but the user doesn't have SeSecurityPrivilege + * - w2k3 allows it + */ set.set_secdesc.in.file.fnum = fnum; set.set_secdesc.in.secinfo_flags = SECINFO_DACL; set.set_secdesc.in.sd = io->ntcreatex.in.sec_desc; |