Commit dfb2b429 authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Load Negotiate provider again.

parent fbe98458
...@@ -557,13 +557,11 @@ static void SECUR32_initializeProviders(void) ...@@ -557,13 +557,11 @@ static void SECUR32_initializeProviders(void)
cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs"); cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
/* First load built-in providers */ /* First load built-in providers */
SECUR32_initSchannelSP(); SECUR32_initSchannelSP();
/* Do not load Negotiate yet. This breaks for some user on the wine-users
* mailing list as of 2006-09-12. Without Negotiate, applications should
* fall back to NTLM and that should work.*/
#if 0
SECUR32_initNegotiateSP();
#endif
SECUR32_initNTLMSP(); SECUR32_initNTLMSP();
/* Load the Negotiate provider last so apps stumble over the working NTLM
* provider first. Attempting to fix bug #16905 while keeping the
* application reported on wine-users on 2006-09-12 working. */
SECUR32_initNegotiateSP();
/* Now load providers from registry */ /* Now load providers from registry */
apiRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE, securityProvidersKeyW, 0, apiRet = RegOpenKeyExW(HKEY_LOCAL_MACHINE, securityProvidersKeyW, 0,
KEY_READ, &key); KEY_READ, &key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment