[PATCH 07/20] kerberos: Implement SpAcquireCredentialsHandle.

Hans Leidekker hans at codeweavers.com
Tue Jan 23 06:13:11 CST 2018


On Tue, 2018-01-23 at 17:45 +0800, Dmitry Timoshkov wrote:
> A simple test that does the following:
> printf("kerberos.dll => %p\n", GetModuleHandle("kerberos.dll"));
> AcquireCredentialsHandleA(NULL, "Kerberos", SECPKG_CRED_OUTBOUND, NULL,
>                           NULL, NULL, NULL, &cred, &ts);
> printf("kerberos.dll => %p\n", GetModuleHandle("kerberos.dll"));
> 
> prints this under Windows 7:
> kerberos.dll => 00000000
> kerberos.dll => 734A0000
> 
> Does this answer your question?

That's a good indication, thanks. If I replace "Kerberos" with "NTLM" in
the AcquireCredentialsHandleA call kerberos.dll is not loaded, so it's not
just a side-effect.




More information about the wine-devel mailing list