summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-30 13:14:40 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:10 +1000
commited6b4ddd71ebdcdbdea7949ecbef11f409766534 (patch)
tree06b402d6b114492f7c68b26e03246c9950b41e48 /source3/libgpo
parent92efe9a86aae64d85323a9fcf6d20fd3f85bc22c (diff)
downloadsamba-ed6b4ddd71ebdcdbdea7949ecbef11f409766534.tar.gz
samba-ed6b4ddd71ebdcdbdea7949ecbef11f409766534.tar.bz2
samba-ed6b4ddd71ebdcdbdea7949ecbef11f409766534.zip
s3-privs Directly manipulate the privileges bitmap.
There is no longer any reason to go via the se_ functions to manipulate this bitmap. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c
index 39d072f689..f599435e6c 100644
--- a/source3/libgpo/gpo_reg.c
+++ b/source3/libgpo/gpo_reg.c
@@ -37,7 +37,7 @@ struct security_token *registry_create_system_token(TALLOC_CTX *mem_ctx)
return NULL;
}
- token->privilege_mask = se_priv_all;
+ token->privilege_mask = SE_ALL_PRIVS;
if (!NT_STATUS_IS_OK(add_sid_to_array(token, &global_sid_System,
&token->sids, &token->num_sids))) {