* Kai Blin kai.blin@gmail.com [15/06/06, 20:50:47]: Please disregard this patch. I sent this out to wine-patches by accident. It still has some errors.
case SECPKG_ATTR_LOCAL_CRED:TRACE("MSDN claims SECPKG_ATTR_LOCAL_CRED is obsolete\n");/* fall through */case SECPKG_ATTR_LOCAL_CERT_CONTEXT:FIXME("SECPKG_ATTR_LOCAL_CERT_CONTEXT.stub\n");break;case SECPKG_ATTR_ROOT_STORE:FIXME("SECPKG_ATTR_ROOT_STORE stub\n");break;
Those only exist for SCHANNEL, not NTLM.
case SECPKG_ATTR_SIZES:{PSecPkgContext_Sizes spcs =SECUR32_ALLOC(sizeof(SecPkgContext_Sizes));spcs->cbMaxToken = NTLM_MAX_BUF;spcs->cbMaxSignature = 16;spcs->cbBlockSize = 1;spcs->cbSecurityTrailer = 16;pBuffer = spcs;return SEC_E_OK;}
This doesn't seem to set pBuffer to spcs. What did I miss here?
switch(sec_pkg_name){case "NTLM":
This doesn't work, of course.
Kai Blin wrote:
case SECPKG_ATTR_SIZES:{PSecPkgContext_Sizes spcs =SECUR32_ALLOC(sizeof(SecPkgContext_Sizes));spcs->cbMaxToken = NTLM_MAX_BUF;spcs->cbMaxSignature = 16;spcs->cbBlockSize = 1;spcs->cbSecurityTrailer = 16;pBuffer = spcs;return SEC_E_OK;}This doesn't seem to set pBuffer to spcs. What did I miss here?
Maybe that should be *pBuffer? just guessing though