diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-13 13:53:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:07 -0500 |
commit | 3f9628ac7c613def7dcce740e88964638b4b6102 (patch) | |
tree | 370a5cecbff282a694e5c44e075ec7e04c7c8bbd /source4 | |
parent | 8302b889b410934330ed9c7c492d9b26b3bce58a (diff) | |
download | samba-3f9628ac7c613def7dcce740e88964638b4b6102.tar.gz samba-3f9628ac7c613def7dcce740e88964638b4b6102.tar.bz2 samba-3f9628ac7c613def7dcce740e88964638b4b6102.zip |
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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/security/access_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/security/access_check.c b/source4/libcli/security/access_check.c index f0a46cc23d..ea63369303 100644 --- a/source4/libcli/security/access_check.c +++ b/source4/libcli/security/access_check.c @@ -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; } } |