Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1058647e
Commit
1058647e
authored
Apr 27, 2019
by
Qian Hong
Committed by
Alexandre Julliard
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Create primary group using DOMAIN_GROUP_RID_USERS.
Signed-off-by:
Vijay Kiran Kamuju
<
infyquest@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
422ab96b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
security.c
dlls/advapi32/tests/security.c
+1
-1
token.c
server/token.c
+1
-0
No files found.
dlls/advapi32/tests/security.c
View file @
1058647e
...
...
@@ -3016,7 +3016,7 @@ static void test_process_security(void)
ok
(
res
,
"GetTokenInformation failed with error %d
\n
"
,
GetLastError
());
UserSid
=
user
->
User
.
Sid
;
test_sid_str
(
UserSid
);
todo_wine
ok
(
EqualPrefixSid
(
UsersSid
,
UserSid
),
"TokenPrimaryGroup Sid and TokenUser Sid don't match.
\n
"
);
ok
(
EqualPrefixSid
(
UsersSid
,
UserSid
),
"TokenPrimaryGroup Sid and TokenUser Sid don't match.
\n
"
);
CloseHandle
(
token
);
if
(
!
res
)
...
...
server/token.c
View file @
1058647e
...
...
@@ -839,6 +839,7 @@ struct token *token_create_admin( void )
{
security_local_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
},
{
security_interactive_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
},
{
security_authenticated_user_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
},
{
security_domain_users_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
|
SE_GROUP_OWNER
},
{
alias_admins_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
|
SE_GROUP_OWNER
},
{
alias_users_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
},
{
logon_sid
,
SE_GROUP_ENABLED
|
SE_GROUP_ENABLED_BY_DEFAULT
|
SE_GROUP_MANDATORY
|
SE_GROUP_LOGON_ID
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment