windows - SSPI always picks up NTLM -
windows - SSPI always picks up NTLM -
i have windows7 connected windows2008-r2 domain.
each time seek sspi "negociate" (c++), fall ntlm.
i not understand why... dns on dc ok.
something don't ??
if run klist can see right, seems ok (i guess)
update
ok i'm origin understand (at least).
i used give spn "" initializesecuritycontext which, in case falls straight ntlm.
now tried, on client, this:
wchar_t szspn[256]={0}; ulong cchspn = sizeof szspn / sizeof *szspn; getusernameex(namednsdomain, szspn, &cchspn); ... initializesecuritycontext( hcred, null, szpsn, ...) which gives me error 0x8009030c
other weird stuff : if set szspn "administrator", works kerberos !!! if set szspn joe, fails... (assuming created on dc, new user joe).
wawww, don't understand what's going on... !?
what resource trying access? must server/service configured kerberos.
windows active-directory kerberos ntlm sspi
Comments
Post a Comment