git.samba.org
/
jerry
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1663b
)
r23738: Re-add commented out code snipped that got lost by accident
author
Volker Lendecke
<vlendec@samba.org>
Sat, 7 Jul 2007 08:46:26 +0000
(08:46 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:23:50 +0000
(12:23 -0500)
source/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source/smbd/nttrans.c
b/source/smbd/nttrans.c
index 8865afad0d5cb7a45efa103653083aa26097ac76..5760cb75a43fdea7a0cf1d1e8eeb57254859a4dc 100644
(file)
--- a/
source/smbd/nttrans.c
+++ b/
source/smbd/nttrans.c
@@
-1413,6
+1413,16
@@
static int call_nt_transact_create(connection_struct *conn, char *inbuf, char *o
}
}
+#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;