svn commit: samba r23738 - in branches/SAMBA_3_0/source/smbd: .
vlendec at samba.org
vlendec at samba.org
Sat Jul 7 08:46:27 GMT 2007
Author: vlendec
Date: 2007-07-07 08:46:26 +0000 (Sat, 07 Jul 2007)
New Revision: 23738
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23738
Log:
Re-add commented out code snipped that got lost by accident
Modified:
branches/SAMBA_3_0/source/smbd/nttrans.c
Changeset:
Modified: branches/SAMBA_3_0/source/smbd/nttrans.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/nttrans.c 2007-07-07 04:34:36 UTC (rev 23737)
+++ branches/SAMBA_3_0/source/smbd/nttrans.c 2007-07-07 08:46:26 UTC (rev 23738)
@@ -1413,6 +1413,16 @@
}
}
+#if 0
+ /* We need to support SeSecurityPrivilege for this. */
+ if ((access_mask & SEC_RIGHT_SYSTEM_SECURITY)) &&
+ !user_has_privileges(current_user.nt_user_token,
+ &se_security)) {
+ restore_case_semantics(conn, file_attributes);
+ return ERROR_NT(NT_STATUS_PRIVILEGE_NOT_HELD);
+ }
+#endif
+
if (ea_len) {
pdata = data + sd_len;
More information about the samba-cvs
mailing list