http://bugs.winehq.org/show_bug.cgi?id=14222
Summary: RpcBindingSetAuthInfo(Ex) fails with RPC_C_AUTHN_GSS_NEGOTIATE Product: Wine Version: CVS/GIT Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: winesku@googlemail.com
RpcBindingSetAuthInfo(Ex) fails with RPC_S_UNKNOWN_AUTHN_SERVICE if RPC_C_AUTHN_GSS_NEGOTIATE is specified. While this looks correct at first glance, because WINE's secur32.dll currently has no Negotiate provider, but instead only an NTLM provider, it is not what applications expect. Since Windows 2000, RPC clients that call RpcBindingSetAuthInfo(Ex) can at least expect that this call succeeds with the selection of NTLM, even in non-domain environments. Therefore WINE's RpcBindingSetAuthInfo(Ex) should make a fallback to RPC_C_AUTHN_WINNT if RPC_C_AUTHN_GSS_NEGOTIATE is requested by the caller but only NTLM is available. After all, by specifying RPC_C_AUTHN_GSS_NEGOTIATE, the client indicated that NTLM is sufficient.
http://bugs.winehq.org/show_bug.cgi?id=14222
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |rpc Ever Confirmed|0 |1
--- Comment #1 from Kai Blin kai.blin@gmail.com 2008-07-03 02:00:06 --- Confirming
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-03 19:48:00 --- Is this still an issue in current (1.1.12 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14222
Kai Blin kai.blin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #3 from Kai Blin kai.blin@gmail.com 2009-01-04 01:55:49 --- I thought I've fixed this, but looking at the code again, I only fixed another bug Stefan reported in that area. I'm not sure if adding a fallback for NEGOTIATE to NTLM will get past Alexandre. I'll have to think about this some more.
http://bugs.winehq.org/show_bug.cgi?id=14222
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #4 from Austin English austinenglish@gmail.com 2009-01-20 02:39:23 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=14222
Stefan Kuhr winesku@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.17
--- Comment #5 from Stefan Kuhr winesku@googlemail.com 2009-03-24 11:17:46 --- Hello, I just retested this with the current development GIT branch as of 03/24/2009 which is 1.1.17 and the bug is still there. Sorry for not coming back to this for so long, I simply had no Linux dev machine at hand.
http://bugs.winehq.org/show_bug.cgi?id=14222
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.17 |unspecified
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2009-03-25 05:05:00 --- Wine version should belong to the time this bug report was filed at.
http://bugs.winehq.org/show_bug.cgi?id=14222
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #7 from Austin English austinenglish@gmail.com 2009-09-22 13:58:40 --- Is this still an issue in current (1.1.29 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #8 from Stefan Kuhr winesku@googlemail.com 2009-09-26 07:55:23 --- Hello Austin,
yes, it still is an issue, I just tested it in 1.1.30 again. Should I suggest a patch for this? I once did, but it was rejected, I dunno for what reason.
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #9 from Austin English austinenglish@gmail.com 2009-09-26 14:59:04 --- Patches always help :-).
Resend to wine-devel and ask for comments.
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #10 from Austin English austinenglish@gmail.com 2010-05-19 16:45:57 --- This is your friendly reminder that there has been no bug activity for 6 months. Is this still an issue in current (1.1.44 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=14222
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #11 from Jerome Leclanche adys.wh@gmail.com 2011-10-28 08:57:18 CDT --- (In reply to comment #0) Stefan, did you ever write a patch for this? Is this still an issue at all?
http://bugs.winehq.org/show_bug.cgi?id=14222
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Version|unspecified |1.0.1
--- Comment #12 from Anastasius Focht focht@gmx.net 2012-05-10 14:41:42 CDT --- Hello,
with Hans' recent work secur32 has a negotiate provider now.
http://source.winehq.org/git/wine.git/commitdiff/19f8c79f9eaff076edd959a0187...
Any specific app in mind that wants RPC_C_AUTHN_GSS_NEGOTIATE (Negotiate SSP)?
AFAIK MS Exchange server can be configured to work with this method so this might be a test scenario.
Regards
http://bugs.winehq.org/show_bug.cgi?id=14222
--- Comment #13 from Hans Leidekker hans@meelstraat.net 2012-05-10 15:08:20 CDT --- (In reply to comment #12)
Any specific app in mind that wants RPC_C_AUTHN_GSS_NEGOTIATE (Negotiate SSP)?
AFAIK MS Exchange server can be configured to work with this method so this might be a test scenario.
My patches were motivated by Outlook. It should now be possible to connect to an Exchange server with Outlook 2007 (with a native override for riched20).
http://bugs.winehq.org/show_bug.cgi?id=14222
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #14 from Austin English austinenglish@gmail.com --- (In reply to Hans Leidekker from comment #13)
(In reply to comment #12)
Any specific app in mind that wants RPC_C_AUTHN_GSS_NEGOTIATE (Negotiate SSP)?
AFAIK MS Exchange server can be configured to work with this method so this might be a test scenario.
My patches were motivated by Outlook. It should now be possible to connect to an Exchange server with Outlook 2007 (with a native override for riched20).
No reply in 2 years, assuming fixed.
http://bugs.winehq.org/show_bug.cgi?id=14222
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |19f8c79f9eaff076edd959a0187 | |657633216f0e8 Summary|RpcBindingSetAuthInfo(Ex) |RpcBindingSetAuthInfo(Ex) |fails with |fails with |RPC_C_AUTHN_GSS_NEGOTIATE |RPC_C_AUTHN_GSS_NEGOTIATE | |(Outlook 2007 connecting to | |Exchange server)
https://bugs.winehq.org/show_bug.cgi?id=14222
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.19.