summaryrefslogtreecommitdiff
path: root/source3/registry/reg_util_token.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry/reg_util_token.c')
-rw-r--r--source3/registry/reg_util_token.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_util_token.c b/source3/registry/reg_util_token.c
index f8cd5c590f..898b64b2a7 100644
--- a/source3/registry/reg_util_token.c
+++ b/source3/registry/reg_util_token.c
@@ -28,16 +28,16 @@
* - disk operators privilege
*/
NTSTATUS registry_create_admin_token(TALLOC_CTX *mem_ctx,
- NT_USER_TOKEN **ptoken)
+ struct security_token **ptoken)
{
NTSTATUS status;
- NT_USER_TOKEN *token = NULL;
+ struct security_token *token = NULL;
if (ptoken == NULL) {
return NT_STATUS_INVALID_PARAMETER;
}
- token = TALLOC_ZERO_P(mem_ctx, NT_USER_TOKEN);
+ token = TALLOC_ZERO_P(mem_ctx, struct security_token);
if (token == NULL) {
DEBUG(1, ("talloc failed\n"));
status = NT_STATUS_NO_MEMORY;