[Bug 45389] New: odbccp32:misc fails if privileges are not high enough
https://bugs.winehq.org/show_bug.cgi?id=45389 Bug ID: 45389 Summary: odbccp32:misc fails if privileges are not high enough Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: odbc Assignee: wine-bugs(a)winehq.org Reporter: fgouget(a)codeweavers.com Distribution: --- odbccp32:misc fails if privileges are not high enough, such as when running as administrator without elevated privileges, or running as a regular user: misc.c:651: Test failed: installed driver not found * Related source https://source.winehq.org/git/wine.git/?a=blob;f=dlls/odbccp32/tests/misc.c;... * odbccp32:misc failures on the WineTest website https://test.winehq.org/data/tests/odbccp32:misc.html Line 651 was introduced by this commit: commit 3478a81a4cd2bfae173332aff71f679fc4fa2b6d Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Fri May 18 22:00:56 2018 -0500 odbccp32/tests: Add tests for SQLGetInstalledDrivers(). Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com> Signed-off-by: Hans Leidekker <hans(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> Luckily this issue can be reproduced on the w2000pro TestBot VM so it is easy to work on. This issue can also be seen on the fg-win7u64-1spie9adm, fg-win7u64-1spie9usr and fg-winxp-lusr WineTest machines. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |3478a81a4cd2bfae173332aff71 | |f679fc4fa2b6d Keywords| |download, source, testcase -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Windows -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #1 from Zebediah Figura <z.figura12(a)gmail.com> --- Line 651 is a simple fix. However, while checking this I found some other failures: misc.c:438: Test failed: SQLConfigDriver returned 1 misc.c:440: Test failed: SQLConfigDriver returned 100, 0 These only show up on 32-bit. The culprit seems to be registry virtualization. To get around this we'll want to add something like the following manifest: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity type="win32" name="Wine.odbccp32.Test" version="1.0.0.0" processorArchitecture="*" /> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="asInvoker" /> </requestedPrivileges> </security> </trustInfo> </assembly> asInvoker has no effect on permissions (which is what we want; anything else might cause a UAC prompt) but avoids virtualization, i.e. it basically marks the application as aware that it might not have permissions. This is also to blame for the msctf:inputprocessor failures (bug 39238). -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |560010571a343ee310cbdea5418 | |10ec08bb89afa Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Fixed by: 560010571a343ee310cbdea541810ec08bb89afa -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45389 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.12. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org