s3-privs Directly manipulate the privileges bitmap.
[nivanova/samba-autobuild/.git] / source3 / libgpo / gpo_reg.c
index 39d072f689dcbb5199a62f68346b322b43bc29b0..f599435e6cb4865d944b016df03f3c6405d7b67f 100644 (file)
@@ -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))) {