Author: hbelusca Date: Mon Feb 20 22:28:07 2017 New Revision: 73868
URL: http://svn.reactos.org/svn/reactos?rev=73868&view=rev Log: [SECUR32]: As an interim step towards a proper NTLM implementation that is done by Samuel Serapion, I temporarily commit Wine's NTLM code layer around Samba's "ntlm_auth" utility. In addition I add the kerberos & negotiate stubs too. This is not a problem on Wine, because they run on Linux distributions, most of which have Samba available. But this is not the case on Windows / ReactOS, so few adaptations were needed: in the dispatcher.c code, the fork_helper function was partially rewritten around CreateProcess to start the ntlm_auth utility (I try to use maximally the CRT to not have to rewrite other functions). This works great. But then, to make this NTLM layer working on ReactOS, one has to find a Windows build of Samba. Here is one: http://smithii.com/samba . This is a Samba 3.0.23c build. You need to follow *exactly* the manual installation steps to make it work (actually, everything up to "Step 6" included, i.e. running smbsetup.cmd). This means in particular to copy Samba into C:\Program Files\samba, as this path is also hardcoded into the executables. As the Wine's NTLM layer expects Samba 3.0.25+, I manually downgraded the expected version, which appears to still work nice for the needs of Office 2010 installation.
You can now play with it and try to install Office 2010.
CORE-12601 #comment Wine's NTLM layer committed in r73868 as an interim step towards a proper implementation. CORE-12279
Added: trunk/reactos/dll/win32/secur32/wine/ trunk/reactos/dll/win32/secur32/wine/base64_codec.c (with props) trunk/reactos/dll/win32/secur32/wine/base64_codec.h (with props) trunk/reactos/dll/win32/secur32/wine/dispatcher.c (with props) trunk/reactos/dll/win32/secur32/wine/dispatcher.h (with props) trunk/reactos/dll/win32/secur32/wine/hmac_md5.c (with props) trunk/reactos/dll/win32/secur32/wine/hmac_md5.h (with props) trunk/reactos/dll/win32/secur32/wine/kerberos.c (with props) trunk/reactos/dll/win32/secur32/wine/kerberos.h (with props) trunk/reactos/dll/win32/secur32/wine/negotiate.c (with props) trunk/reactos/dll/win32/secur32/wine/negotiate.h (with props) trunk/reactos/dll/win32/secur32/wine/ntlm.c (with props) trunk/reactos/dll/win32/secur32/wine/ntlm.h (with props) trunk/reactos/dll/win32/secur32/wine/util.c (with props) trunk/reactos/dll/win32/secur32/wine/util.h (with props) trunk/reactos/dll/win32/secur32/wine/wine_supp.h (with props) Modified: trunk/reactos/dll/win32/secur32/CMakeLists.txt trunk/reactos/dll/win32/secur32/dllmain.c trunk/reactos/dll/win32/secur32/secur32_priv.h trunk/reactos/dll/win32/secur32/sspi.c
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/reactos/dll/win32/secur32/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/CMakeList...
Modified: trunk/reactos/dll/win32/secur32/dllmain.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/dllmain.c...
Modified: trunk/reactos/dll/win32/secur32/secur32_priv.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/secur32_p...
Modified: trunk/reactos/dll/win32/secur32/sspi.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/sspi.c?re...
Added: trunk/reactos/dll/win32/secur32/wine/base64_codec.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/base...
Added: trunk/reactos/dll/win32/secur32/wine/base64_codec.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/base...
Added: trunk/reactos/dll/win32/secur32/wine/dispatcher.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/disp...
Added: trunk/reactos/dll/win32/secur32/wine/dispatcher.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/disp...
Added: trunk/reactos/dll/win32/secur32/wine/hmac_md5.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/hmac...
Added: trunk/reactos/dll/win32/secur32/wine/hmac_md5.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/hmac...
Added: trunk/reactos/dll/win32/secur32/wine/kerberos.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/kerb...
Added: trunk/reactos/dll/win32/secur32/wine/kerberos.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/kerb...
Added: trunk/reactos/dll/win32/secur32/wine/negotiate.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/nego...
Added: trunk/reactos/dll/win32/secur32/wine/negotiate.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/nego...
Added: trunk/reactos/dll/win32/secur32/wine/ntlm.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/ntlm...
Added: trunk/reactos/dll/win32/secur32/wine/ntlm.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/ntlm...
Added: trunk/reactos/dll/win32/secur32/wine/util.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/util...
Added: trunk/reactos/dll/win32/secur32/wine/util.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/util...
Added: trunk/reactos/dll/win32/secur32/wine/wine_supp.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/wine/wine...