Kai Blin : secur32: work around a bug in ntlm_auth that breaks RPC.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 10 05:43:51 CST 2006


Module: wine
Branch: master
Commit: 48f934ee9667c1445521f326846849fadbc1c630
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=48f934ee9667c1445521f326846849fadbc1c630

Author: Kai Blin <kai.blin at gmail.com>
Date:   Fri Nov 10 03:53:57 2006 +0100

secur32: work around a bug in ntlm_auth that breaks RPC.

---

 dlls/secur32/ntlm.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c
index 257562b..539696f 100644
--- a/dlls/secur32/ntlm.c
+++ b/dlls/secur32/ntlm.c
@@ -448,7 +448,11 @@ static SECURITY_STATUS SEC_ENTRY ntlm_In
         {
             /* This is default, so we'll enable it */
             ctxt_attr |= ISC_RET_CONNECTION;
-            lstrcatA(want_flags, " NTLMSSP_FEATURE_SESSION_KEY");
+            /* Work around a bug in ntlm_auth that sets the
+             * NTLMSSP_FEATURE_SIGN flag for this want flag, which
+             * breaks RPC. */
+            if(0)
+                lstrcatA(want_flags, " NTLMSSP_FEATURE_SESSION_KEY");
         }
         if(fContextReq & ISC_REQ_EXTENDED_ERROR)
             FIXME("ISC_REQ_EXTENDED_ERROR\n");




More information about the wine-cvs mailing list