[Bug 43726] New: Outlook 2013 cannot login to Exchange without cached credentials because CredUIPromptForWindowsCredentialsW is a stub

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Sep 18 19:35:04 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43726

            Bug ID: 43726
           Summary: Outlook 2013 cannot login to Exchange without cached
                    credentials because CredUIPromptForWindowsCredentialsW
                    is a stub
           Product: Wine
           Version: 2.17
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: dremelofdeath at gmail.com
      Distribution: ---

Created attachment 59200
  --> https://bugs.winehq.org/attachment.cgi?id=59200
Wine logs with no WINEDEBUG modifiers

Component should be credui, but it wasn't listed as an option.

Steps to reproduce:
1. Add DWORD registry key HKEY_CURRENT_USER\Software\Wine\Direct3D and set the
value to 0x00030002 (GL compatibility override).
2. Install msxml6 and riched20 with winetricks, set overrides for them to
(native, builtin).
3. Install Office Professional Plus 2013 in Wine 2.17.

** Note that this part is only required because I cannot click Add Account
through Outlook directly. ***

4. From a working Windows 10 install of Outlook 2013 that has a working account
configured for Exchange Server 2013, export registry key
HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles and copy it
to the Linux machine.
5. Using Wine's regedit, import that registry key to the Wine registry.

** Launching Outlook at this point will cause the profile to fail to load,
because crypt32 will try to decode the credential store and fail because it was
created in real Windows instead of Wine. So we can delete the failing
credential store value and force Outlook to prompt for credentials. ***

6. Again with Wine's regedit, find the registry key value with name "S010267f0"
under HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook
and delete it. (The name of the key for this value is random and differs
between profiles, so you have to search for it.)
7. Launch Outlook 2013.

Results:

Wine does not prompt for Windows credentials. Outlook fails to open the profile
and displays a message in a dialog box:

"Cannot start Microsoft Outlook. Cannot open the Outlook window. The set of
folders cannot be opened. You must connect to Microsoft Exchange with the
current profile before you can synchronize your folders with your Outlook data
file (.ost)."

The following FIXME is also logged:

fixme:credui:CredUIPromptForWindowsCredentialsW (0xd1bd2ec, 0, 0xd1bd2e8,
(nil), 0, 0xd1bd33c, 0xd1bd328, 0xd1bd2e4, 00000002) stub

-- 
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.



More information about the wine-bugs mailing list