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
3120c086
Commit
3120c086
authored
Mar 17, 2008
by
H. Verbeet
Committed by
Alexandre Julliard
Mar 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Don't drop the SE_GROUP_LOGON_ID attribute.
parent
99f651bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
token.c
server/token.c
+2
-1
No files found.
server/token.c
View file @
3120c086
...
...
@@ -466,7 +466,7 @@ static struct token *create_token( unsigned primary, const SID *user,
memcpy
(
&
group
->
sid
,
groups
[
i
].
Sid
,
FIELD_OFFSET
(
SID
,
SubAuthority
[((
const
SID
*
)
groups
[
i
].
Sid
)
->
SubAuthorityCount
]
)
);
group
->
enabled
=
TRUE
;
group
->
def
=
TRUE
;
group
->
logon
=
FALSE
;
group
->
logon
=
(
groups
[
i
].
Attributes
&
SE_GROUP_LOGON_ID
)
?
TRUE
:
FALSE
;
group
->
mandatory
=
(
groups
[
i
].
Attributes
&
SE_GROUP_MANDATORY
)
?
TRUE
:
FALSE
;
group
->
owner
=
groups
[
i
].
Attributes
&
SE_GROUP_OWNER
?
TRUE
:
FALSE
;
group
->
resource
=
FALSE
;
...
...
@@ -1295,6 +1295,7 @@ DECL_HANDLER(get_token_groups)
if
(
group
->
owner
)
*
attr_ptr
|=
SE_GROUP_OWNER
;
if
(
group
->
deny_only
)
*
attr_ptr
|=
SE_GROUP_USE_FOR_DENY_ONLY
;
if
(
group
->
resource
)
*
attr_ptr
|=
SE_GROUP_RESOURCE
;
if
(
group
->
logon
)
*
attr_ptr
|=
SE_GROUP_LOGON_ID
;
memcpy
(
sid_ptr
,
&
group
->
sid
,
FIELD_OFFSET
(
SID
,
SubAuthority
[
group
->
sid
.
SubAuthorityCount
]));
...
...
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