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
c6896f35
Commit
c6896f35
authored
Apr 27, 2013
by
Erich Hoover
Committed by
Alexandre Julliard
Apr 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Fix default DACL test on win2k and w2k8 server editions.
parent
03d99df5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
security.c
dlls/advapi32/tests/security.c
+6
-3
No files found.
dlls/advapi32/tests/security.c
View file @
c6896f35
...
...
@@ -3232,13 +3232,16 @@ static void test_GetNamedSecurityInfoA(void)
bret
=
EqualSid
(
&
ace
->
SidStart
,
admin_sid
);
if
(
bret
)
admins_ace_id
=
i
;
}
ok
(
users_ace_id
!=
-
1
,
"Bultin Users ACE not found.
\n
"
);
ok
(
users_ace_id
!=
-
1
||
broken
(
users_ace_id
==
-
1
)
/* win2k */
,
"Bultin Users ACE not found.
\n
"
);
if
(
users_ace_id
!=
-
1
)
{
bret
=
pGetAce
(
pDacl
,
users_ace_id
,
(
VOID
**
)
&
ace
);
ok
(
bret
,
"Failed to get Builtin Users ACE.
\n
"
);
ok
(((
ACE_HEADER
*
)
ace
)
->
AceFlags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
),
"Builtin Users ACE has unexpected flags (0x%x != 0x%x)
\n
"
,
((
ACE_HEADER
*
)
ace
)
->
AceFlags
,
flags
=
((
ACE_HEADER
*
)
ace
)
->
AceFlags
;
ok
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
)
||
broken
(
flags
==
(
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
|
INHERITED_ACE
))
/* w2k8 */
,
"Builtin Users ACE has unexpected flags (0x%x != 0x%x)
\n
"
,
flags
,
INHERIT_ONLY_ACE
|
CONTAINER_INHERIT_ACE
);
ok
(
ace
->
Mask
==
GENERIC_READ
,
"Builtin Users ACE has unexpected mask (0x%x != 0x%x)
\n
"
,
ace
->
Mask
,
GENERIC_READ
);
...
...
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