http://bugs.winehq.org/show_bug.cgi?id=20562
Summary: Outlook 2007 - Authentication fails Product: Wine Version: 1.1.32 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P1 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: codemonkey@untweaked.com
Created an attachment (id=24524) --> (http://bugs.winehq.org/attachment.cgi?id=24524) Log of Outlook trying to authenticate
In our org, we set up outlook by typing our email address, and it then searches for the associated mail server. The connection to the server is encrypted. It works the same way when we do it externally from our homes.
using Ubuntu 9.10 and Wine 1.1.32 Outlook appears to find the server but the authentication fails, I believe. This is just a guess, based on the following log excerpt:
fixme:winhttp:WinHttpGetIEProxyConfigForCurrentUser returning no proxy used fixme:winhttp:request_set_option 0 (null) (null) fixme:crypt:SystemFunction041 (0x467ccc, 100, 0): stub [RtlDecryptMemory] fixme:crypt:SystemFunction040 (0x467ccc, 100, 0): stub [RtlEncryptMemory] fixme:winhttp:receive_response authentication not supported fixme:winhttp:set_credentials unimplemented authentication scheme 10
A longer log is attached. My only override is for riched20. I expect to be able to connect using rpc over http.
http://bugs.winehq.org/show_bug.cgi?id=20562
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 Severity|blocker |normal
--- Comment #1 from Jeff Zaroyko jeffz@jeffz.name 2009-11-02 17:57:05 --- Not a blocker, http://bugs.winehq.org/page.cgi?id=fields.html#importance
http://bugs.winehq.org/show_bug.cgi?id=20562
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |secur32
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2009-11-03 12:11:50 --- (In reply to comment #0)
fixme:winhttp:set_credentials unimplemented authentication scheme 10
That's WINHTTP_AUTH_SCHEME_NEGOTIATE. winhttp doesn't support it, but then again neither does secur32. Until secur32 does winhttp can't either, so I'm marking the component secur32.
http://bugs.winehq.org/show_bug.cgi?id=20562
--- Comment #3 from Kai Blin kai.blin@gmail.com 2009-11-03 16:47:54 --- Can't we thunk to NTLM instead of using Negotiate? At least for RPC over SMB, I seem to remember Windows handling this ok.
http://bugs.winehq.org/show_bug.cgi?id=20562
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2009-11-03 16:52:39 --- (In reply to comment #3)
Can't we thunk to NTLM instead of using Negotiate? At least for RPC over SMB, I seem to remember Windows handling this ok.
That seems reasonable. Do you think secur32 should do that in general, or should the callers of it do so?
http://bugs.winehq.org/show_bug.cgi?id=20562
--- Comment #5 from Kai Blin kai.blin@gmail.com 2009-11-03 17:18:00 --- Good question. I'm not sure if doing this in secur32 would be valid for all applications. Worth a try, I guess. I can work on it on the way to WineConf, or you can tackle it if you get to that before I do. I'm just a bit short on time before leaving.
http://bugs.winehq.org/show_bug.cgi?id=20562
--- Comment #6 from Kai Blin kai.blin@gmail.com 2009-11-04 02:14:45 --- Created an attachment (id=24544) --> (http://bugs.winehq.org/attachment.cgi?id=24544) Quick hack to see if we can cheat and use NTLM instead of Negotiate
Here's a quick hack to see if we can get away with using NTLM instead of Negotiate. Could you please try and see if this fixes your problem?
http://bugs.winehq.org/show_bug.cgi?id=20562
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #7 from Hans Leidekker hans@meelstraat.net 2009-11-04 02:53:42 --- That won't work because winhttp currently only supports the basic authentication scheme.
http://bugs.winehq.org/show_bug.cgi?id=20562
--- Comment #8 from Clarence Tso clarencetso@gmail.com 2010-06-22 17:27:13 --- Created an attachment (id=29074) --> (http://bugs.winehq.org/attachment.cgi?id=29074) Log of outlook failing to connect to exchange server
Just tried to do the same - auto account setup - with 1.2-rc4, which did not work.
The log is very similar to the first log with failed authentication, though the exact lines that mention failed authentication are no longer present. Regardless, the result is largely the same.
Excerpt: fixme:winhttp:WinHttpGetIEProxyConfigForCurrentUser returning no proxy used fixme:winhttp:request_set_option 0 (null) (null) fixme:crypt:SystemFunction041 (0x359504, 100, 0): stub [RtlDecryptMemory] fixme:crypt:SystemFunction040 (0x359504, 100, 0): stub [RtlEncryptMemory]
Just wanted to note the test with the newer version
http://bugs.winehq.org/show_bug.cgi?id=20562
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|secur32 |winhttp
--- Comment #9 from Hans Leidekker hans@meelstraat.net 2012-05-11 02:25:01 CDT --- Please attach a WINEDEBUG=+winhttp trace.
http://bugs.winehq.org/show_bug.cgi?id=20562
arthur.huillet@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arthur.huillet@free.fr
http://bugs.winehq.org/show_bug.cgi?id=20562
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a506d0aa3bb3ab19f9cea71f279 | |a618761a02978 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2013-04-30 14:22:27 CDT --- Should be fixed by a506d0aa3bb3ab19f9cea71f279a618761a02978.
http://bugs.winehq.org/show_bug.cgi?id=20562
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2013-05-10 13:41:52 CDT --- Closing bugs fixed in 1.5.30.