Commit 97b122c0 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

server: User correct user sid for the default_dacl.

parent 8132707b
...@@ -542,7 +542,8 @@ struct token *token_create_admin( void ) ...@@ -542,7 +542,8 @@ struct token *token_create_admin( void )
static const unsigned int alias_users_subauth[] = { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_USERS }; static const unsigned int alias_users_subauth[] = { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_USERS };
PSID alias_admins_sid; PSID alias_admins_sid;
PSID alias_users_sid; PSID alias_users_sid;
ACL *default_dacl = create_default_dacl( &local_system_sid ); /* note: should be the owner specified in the token */
ACL *default_dacl = create_default_dacl( &interactive_sid );
alias_admins_sid = security_sid_alloc( &nt_authority, sizeof(alias_admins_subauth)/sizeof(alias_admins_subauth[0]), alias_admins_sid = security_sid_alloc( &nt_authority, sizeof(alias_admins_subauth)/sizeof(alias_admins_subauth[0]),
alias_admins_subauth ); alias_admins_subauth );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment