svn commit: samba r15117 - in
branches/SAMBA_4_0/source/ntvfs/posix: .
metze at samba.org
metze at samba.org
Tue Apr 18 08:07:36 GMT 2006
Author: metze
Date: 2006-04-18 08:07:35 +0000 (Tue, 18 Apr 2006)
New Revision: 15117
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15117
Log:
add more comments
metze
Modified:
branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2006-04-18 06:26:23 UTC (rev 15116)
+++ branches/SAMBA_4_0/source/ntvfs/posix/pvfs_open.c 2006-04-18 08:07:35 UTC (rev 15117)
@@ -143,7 +143,13 @@
/* 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;
More information about the samba-cvs
mailing list