diff options
author | bubulle <bubulle@alioth.debian.org> | 2011-03-07 19:04:15 +0000 |
---|---|---|
committer | bubulle <bubulle@alioth.debian.org> | 2011-03-07 19:04:15 +0000 |
commit | 4d16e8d5702fb98dda73c5c0f3404d662ae62df6 (patch) | |
tree | fc3a71a0b741cbcc6a5a892f91cc0f2218dfe656 /source3/lib/util_seaccess.c | |
parent | 9fbd7973837d958b90261b85fafff36ac194ba58 (diff) | |
download | samba-4d16e8d5702fb98dda73c5c0f3404d662ae62df6.tar.gz |
Load samba-3.5.8 into branches/samba/upstream.upstream/3.5.8_dfsg
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@3691 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'source3/lib/util_seaccess.c')
-rw-r--r-- | source3/lib/util_seaccess.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/lib/util_seaccess.c b/source3/lib/util_seaccess.c index 0da7442d19..369f6848a0 100644 --- a/source3/lib/util_seaccess.c +++ b/source3/lib/util_seaccess.c @@ -179,17 +179,13 @@ NTSTATUS se_access_check(const struct security_descriptor *sd, bits_remaining)); } -#if 0 - /* We need to support SeSecurityPrivilege for this. */ - if (access_desired & SEC_FLAG_SYSTEM_SECURITY) { - if (user_has_privileges(token, &sec_security)) { + if (user_has_privileges(token, &se_security)) { bits_remaining &= ~SEC_FLAG_SYSTEM_SECURITY; } else { return NT_STATUS_PRIVILEGE_NOT_HELD; } } -#endif /* a NULL dacl allows access */ if ((sd->type & SEC_DESC_DACL_PRESENT) && sd->dacl == NULL) { |