Vitaliy Margolen : server: User correct user sid for the default_dacl.
Module: wine Branch: master Commit: 97b122c03f2eb46a2bb18e47461541f7d97ecbef URL: http://source.winehq.org/git/wine.git/?a=commit;h=97b122c03f2eb46a2bb18e4746... Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Fri Jan 19 12:28:59 2007 -0700 server: User correct user sid for the default_dacl. --- server/token.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/server/token.c b/server/token.c index b84c91b..c27e73b 100644 --- a/server/token.c +++ b/server/token.c @@ -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 }; PSID alias_admins_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_subauth );
participants (1)
-
Alexandre Julliard