Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
97b122c0
Commit
97b122c0
authored
Jan 19, 2007
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jan 22, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: User correct user sid for the default_dacl.
parent
8132707b
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 @
97b122c0
...
@@ -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
);
...
...
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