[PATCH 07/20] kerberos: Implement SpAcquireCredentialsHandle.

Dmitry Timoshkov dmitry at baikal.ru
Tue Jan 23 03:45:40 CST 2018


Hi Hans,

Dmitry Timoshkov <dmitry at baikal.ru> wrote:

> Hans Leidekker <hans at codeweavers.com> wrote:
> 
> > On Thu, 2018-01-18 at 23:51 +0800, Dmitry Timoshkov wrote:
> > > > From: Hans Leidekker <hans at codeweavers.com>
> > > 
> > > > Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
> > > ---
> > >  configure                 | 195 ++++++++++++++++++++++++++++++++++-------
> > >  configure.ac              |  18 ++++
> > >  dlls/kerberos/Makefile.in |   2 +-
> > >  dlls/kerberos/krb5_ap.c   | 216 ++++++++++++++++++++++++++++++++++++++++++----
> > >  include/config.h.in       |   9 ++
> > >  5 files changed, 394 insertions(+), 46 deletions(-)
> > 
> > Did you confirm that secur32 loads the kerberos provider from this dll?
> 
> You mean in Windows? According to MSDN/Technet kerberos.dll is part of
> SSPI and SSP/AP architecture, there are a lot of docs and other pages
> that mention it.

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?

-- 
Dmitry.



More information about the wine-devel mailing list