1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

r23738: Re-add commented out code snipped that got lost by accident

(This used to be commit c38c31afb770350e47713bf1025c23fd774607ab)
This commit is contained in:
Volker Lendecke 2007-07-07 08:46:26 +00:00 committed by Gerald (Jerry) Carter
parent d3965a2689
commit 0e43c1e80d

View File

@ -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;