https://bugs.winehq.org/show_bug.cgi?id=39213
Bug ID: 39213 Summary: advapi32:security fails if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The following failures only happen if the test is run in a regular user account on old Windows versions, or without elevated privileges on the more recent ones.
Windows 2000 - Restricted user account Windows XP - Limited user account security.c:5888: Test failed: got 5 security.c:5899: Test failed: got 5 security.c:5908: Test failed: got 6 security.c:5919: Test failed: got 6 security.c:5925: Test failed: got 5 security.c:5929: Test failed: got 6 security.c:5940: Test failed: got 5 security.c:5943: Test failed: got 6 security.c:5947: Test failed: got 2
Windows 7 - Administrator account Windows 7 - Regular user account security.c:3739: Test failed: MACHINE\Software owner SID != Administrators SID. security.c:3792: Test failed: Builtin Admins ACE has unexpected flags (0x3 != 0x0) plus those below:
Windows 2000 - Standard (Power) user account security.c:5899: Test failed: got 1314 security.c:5908: Test failed: got 6 security.c:5919: Test failed: got 6 security.c:5929: Test failed: got 1314
Currently these test failures happen on the following WineTest boxes: . fg-win2000-rusr, fg-win2000-susr, fg-winxp-lusr, fg-win7u64-1spie9adm, fg-win7u64-1spie9usr. https://test.winehq.org/data/tests/advapi32:security.html
https://bugs.winehq.org/show_bug.cgi?id=39213
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=39213
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- All the failures except the 'MACHINE\Software owner SID' and 'ACE flags' ones have been fixed by the commit below. The owner SID failure also happens on Windows 8+ so I created separate bugs for them (bug 39428). This one is fixed.
commit a5b4ed75cf77c42313c691ba8f415f3a6e2c48d4 Author: Hans Leidekker hans@codeweavers.com Date: Fri Sep 11 10:58:33 2015 +0200
advapi32/tests: Avoid more test failures.
https://bugs.winehq.org/show_bug.cgi?id=39213
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |39428, 39429
https://bugs.winehq.org/show_bug.cgi?id=39213
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.53.
https://bugs.winehq.org/show_bug.cgi?id=39213 Bug 39213 depends on bug 39428, which changed state.
Bug 39428 Summary: Failing owner SID test in advapi32:security https://bugs.winehq.org/show_bug.cgi?id=39428
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=39213 Bug 39213 depends on bug 39429, which changed state.
Bug 39429 Summary: Failing ACE flag tests in advapi32:security https://bugs.winehq.org/show_bug.cgi?id=39429
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED