server: User correct user sid for the default_dacl.

This commit is contained in:
Vitaliy Margolen 2007-01-19 12:28:59 -07:00 committed by Alexandre Julliard
parent 8132707bce
commit 97b122c03f
1 changed files with 2 additions and 1 deletions

View File

@ -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 );