mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted metze (This used to be commit be7285bdebd58e7a86fcc64f7b22b9f533bcc4f5)
This commit is contained in:
parent
8302b889b4
commit
3f9628ac7c
@ -92,7 +92,7 @@ NTSTATUS sec_access_check(const struct security_descriptor *sd,
|
||||
if (security_token_has_privilege(token, SEC_PRIV_SECURITY)) {
|
||||
bits_remaining &= ~SEC_FLAG_SYSTEM_SECURITY;
|
||||
} else {
|
||||
return NT_STATUS_ACCESS_DENIED;
|
||||
return NT_STATUS_PRIVILEGE_NOT_HELD;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user