http://bugs.winehq.org/show_bug.cgi?id=30765
Bug #: 30765 Summary: Outlook 2010 can't connect to exchange server Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: alandressner@gmail.com Classification: Unclassified
I am running Ubuntu 12.04 64 bit (Linux alnix 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux) with wine version (alan@alnix:~$ wine --version wine-1.5.4)
I can open word, excel and such including office. However, after going through the initial setup of office I get a message that "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action."
On the initial setup outlook could not verify my settings. I copied the connection setup from a working outlook of the same version.
alan@alnix:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #1 from Alan Dressner alandressner@gmail.com 2012-05-25 11:37:12 CDT --- Created attachment 40284 --> http://bugs.winehq.org/attachment.cgi?id=40284 WINEDEBUG="+ole,+rpc,+storage,+variant"
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #2 from Alan Dressner alandressner@gmail.com 2012-05-25 11:37:39 CDT --- Created attachment 40285 --> http://bugs.winehq.org/attachment.cgi?id=40285 WINEDEBUG="+ole,+rpc,+storage,+variant"
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #3 from Alan Dressner alandressner@gmail.com 2012-05-25 11:38:04 CDT --- Created attachment 40286 --> http://bugs.winehq.org/attachment.cgi?id=40286 WINEDEBUG="+ole,+rpc,+storage,+variant"
http://bugs.winehq.org/show_bug.cgi?id=30765
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Version|unspecified |1.5.4
http://bugs.winehq.org/show_bug.cgi?id=30765
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole32 |-unknown
--- Comment #4 from Hans Leidekker hans@meelstraat.net 2012-05-25 14:19:11 CDT --- Please attach terminal output from an attempt to setup the initial Exchange connection. Make sure you have ntlm_auth installed.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #5 from Alan Dressner alandressner@gmail.com 2012-05-25 17:20:29 CDT --- Created attachment 40288 --> http://bugs.winehq.org/attachment.cgi?id=40288 output from an attempt to setup the initial Exchange connection.
cli output while attempting to make a connection to the exchange server with SSL. Not using NTLM because it is off the web.
http://bugs.winehq.org/show_bug.cgi?id=30765
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #6 from Hans Leidekker hans@meelstraat.net 2012-05-26 03:01:01 CDT --- (In reply to comment #5)
Created attachment 40288 [details] output from an attempt to setup the initial Exchange connection.
cli output while attempting to make a connection to the exchange server with SSL. Not using NTLM because it is off the web.
It fails to connect even before authentication takes place:
err:wininet:HTTP_HttpOpenRequestW Unable to escape string!(L"/pki/mscorp/crl/Microsoft Secure Server Authority(8).crl") (-2147467261) fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do! err:wininet:NETCON_secure_connect SSL_connect failed: 12056 wine: Unhandled page fault on read access to 0x00000000 at address 0x7e098eb1 (thread 002c), starting debugger...
12056 == ERROR_INTERNET_SEC_CERT_NO_REV
The first error on might be related to the second error. Can you attach a +wininet,+crypt,+chain trace?
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com 2012-05-26 03:35:52 CDT --- Could it be caused by the same issue 30598?
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #8 from Hans Leidekker hans@meelstraat.net 2012-05-26 03:53:19 CDT --- (In reply to comment #7)
Could it be caused by the same issue 30598?
From a quick look it doesn't look like the same bug (the errors are different
for example), but we haven't found the cause of this bug yet.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #9 from Alan Dressner alandressner@gmail.com 2012-05-30 08:45:24 CDT --- Created attachment 40335 --> http://bugs.winehq.org/attachment.cgi?id=40335 another debug
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #10 from Alan Dressner alandressner@gmail.com 2012-05-30 08:46:43 CDT --- Created attachment 40336 --> http://bugs.winehq.org/attachment.cgi?id=40336 outlook backtrace
Outlook created a back trace after it crashed. I though it might help to find the issue.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #11 from Hans Leidekker hans@meelstraat.net 2012-05-30 10:20:04 CDT --- (In reply to comment #10)
Created attachment 40336 [details] outlook backtrace
Outlook created a back trace after it crashed. I though it might help to find the issue.
Please attach the trace you were asked for in comment #6.
http://bugs.winehq.org/show_bug.cgi?id=30765
Robert S. wayne@ioop.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wayne@ioop.de
--- Comment #12 from Robert S. wayne@ioop.de 2013-06-24 08:23:25 CDT --- I can confirm this behaviour for wine v1.5.28, v1.5.30, v1.6-rc3 and crossover-12.2.1; all run in 32bit mode on Redhat Enterprise Workstation v6.4 (x64)
Office 2010 incl. SP1 installs just fine. Excel, Word, Outlook start up and run properly. However, when one tries to setup an eMail account with exchange server (either with or without autodiscovery), Outlook never seems to find the server and outputs messages like the one discribed in comment #0.
A dual boot windows installation on the same computer has no problems connecting to the exchange server.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2013-06-27 04:37:35 CDT --- Created attachment 44995 --> http://bugs.winehq.org/attachment.cgi?id=44995 patch
Can you give this a try?
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #14 from Robert Schwabe wayne@ioop.de 2013-06-28 06:57:47 CDT --- Tried the patch.
Two different behaviours are observable: 1. Creating account with autodiscovery CPU load goes to 100% (on all cores) and stays there forever. Outlook seems to be trying to connect, but doesnt move ahead. No message box appears.
2. Creating account manually CPU load is normal. Outlook tries to connect. After some 30-60 seconds a popup appears which is identical to the one in comment #0.
I'll upload the debug logs of both tries.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #15 from Robert Schwabe wayne@ioop.de 2013-06-28 06:59:22 CDT --- Created attachment 45017 --> http://bugs.winehq.org/attachment.cgi?id=45017 WINEDEBUG="+ole,+rpc,+storage,+variant"; 7z-File (LMZA Compression)
Due to its size, the file is compressed with LMZA. Decompress with e.g. 7zip.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #16 from Hans Leidekker hans@meelstraat.net 2013-06-28 07:26:54 CDT --- (In reply to comment #15)
Created attachment 45017 [details] WINEDEBUG="+ole,+rpc,+storage,+variant"; 7z-File (LMZA Compression)
Due to its size, the file is compressed with LMZA. Decompress with e.g. 7zip.
Can you make that a +wininet,+winhttp,+rpc,+seh,+tid trace?
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #17 from Robert Schwabe wayne@ioop.de 2013-06-28 08:47:14 CDT --- Created attachment 45019 --> http://bugs.winehq.org/attachment.cgi?id=45019 WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid"
Alright. This time autodiscovery didnt cause the CPU to shoot up to 100% and remained quite low.
I was running this command for testing and to get the logs: WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid" WINEARCH=win32 wine ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office14/OUTLOOK.EXE > debug0 2>&1
Trying to connect in a windows VM manually and with autodiscovery works.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #18 from Hans Leidekker hans@meelstraat.net 2013-06-28 10:15:22 CDT --- (In reply to comment #17)
Created attachment 45019 [details] WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid"
Alright. This time autodiscovery didnt cause the CPU to shoot up to 100% and remained quite low.
I was running this command for testing and to get the logs: WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid" WINEARCH=win32 wine ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office14/OUTLOOK.EXE > debug0 2>&1
Thanks. This line from debug1_manual shows you selected NTLM authentication in the http proxy settings, which I haven't implemented yet:
0099:fixme:rpc:insert_authorization_header scheme 2 not supported
Can you set it to Basic and try again?
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #19 from Robert Schwabe wayne@ioop.de 2013-06-28 10:42:58 CDT --- Created attachment 45025 --> http://bugs.winehq.org/attachment.cgi?id=45025 WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid"
Switched to standard authentication in the http proxy settings and tried again.
Outlook tries to connect for apprx. 5 minutes and then stops with the couldnt connect message from comment #0.
http://bugs.winehq.org/show_bug.cgi?id=30765
Robert Schwabe wayne@ioop.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45025|0 |1 is obsolete| |
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #20 from Robert Schwabe wayne@ioop.de 2013-06-29 04:52:09 CDT --- Created attachment 45034 --> http://bugs.winehq.org/attachment.cgi?id=45034 WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid"
Another run. On a different machine. Same result. wine-1.6-rc3 + patch from comment #13; Redhat Enterprise Linux 6.4 x64
http://bugs.winehq.org/show_bug.cgi?id=30765
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #21 from Hans Leidekker hans@meelstraat.net 2013-07-01 04:00:57 CDT --- (In reply to comment #20)
00b7:trace:wininet:read_line returning "HTTP/1.1 200 Success"
You're getting connected now so that's progress, but the connection is dropped almost immediately. Since I stay connected to Exchange 2010 with this patch I suspect that this is related to the Exchange version. Yours is newer by the looks of the response headers.
http://bugs.winehq.org/show_bug.cgi?id=30765
--- Comment #22 from Robert Schwabe wayne@ioop.de 2013-07-01 08:19:00 CDT --- Created attachment 45063 --> http://bugs.winehq.org/attachment.cgi?id=45063 WINEDEBUG="+wininet,+winhttp,+rpc,+seh,+tid"
One more run. This time on Ubuntu 13.04 x64. Same result. wine-1.6-rc4 + patch from comment #13.
http://bugs.winehq.org/show_bug.cgi?id=30765
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9ea95f4105cb2c68ff823c82213 | |0000e22807675 Status|NEW |RESOLVED Component|-unknown |rpc Resolution| |FIXED
--- Comment #23 from Hans Leidekker hans@meelstraat.net 2013-09-10 09:52:38 CDT --- Should be fixed by 9ea95f4105cb2c68ff823c822130000e22807675. Connecting to Exchange 2013 still needs more work.
http://bugs.winehq.org/show_bug.cgi?id=30765
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #24 from Alexandre Julliard julliard@winehq.org 2013-09-13 13:19:46 CDT --- Closing bugs fixed in 1.7.2.