2011-07-01 02:51:46 +04:00
|
|
|
/**
|
2012-05-22 06:48:33 +04:00
|
|
|
* WinPR: Windows Portable Runtime
|
2011-07-01 02:51:46 +04:00
|
|
|
* Credential Security Support Provider (CredSSP)
|
|
|
|
*
|
2014-06-06 06:10:08 +04:00
|
|
|
* Copyright 2010-2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2011-07-01 02:51:46 +04:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
2011-08-29 00:46:36 +04:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2011-07-01 02:51:46 +04:00
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2012-08-15 01:20:53 +04:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2012-05-23 09:49:21 +04:00
|
|
|
#include <winpr/crt.h>
|
2012-05-05 03:48:53 +04:00
|
|
|
#include <winpr/sspi.h>
|
2011-07-18 10:34:28 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
#include "credssp.h"
|
2011-09-29 09:03:07 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
#include "../sspi.h"
|
2020-08-10 15:43:37 +03:00
|
|
|
#include "../log.h"
|
|
|
|
|
|
|
|
#define TAG WINPR_TAG("sspi.CredSSP")
|
2012-03-05 06:56:41 +04:00
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static const char* CREDSSP_PACKAGE_NAME = "CredSSP";
|
2012-03-05 06:56:41 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_InitializeSecurityContextW(
|
|
|
|
PCredHandle phCredential, PCtxtHandle phContext, SEC_WCHAR* pszTargetName, ULONG fContextReq,
|
|
|
|
ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2,
|
|
|
|
PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry)
|
2012-02-25 02:17:38 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-02-25 02:17:38 +04:00
|
|
|
}
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_InitializeSecurityContextA(
|
|
|
|
PCredHandle phCredential, PCtxtHandle phContext, SEC_CHAR* pszTargetName, ULONG fContextReq,
|
|
|
|
ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, ULONG Reserved2,
|
|
|
|
PCtxtHandle phNewContext, PSecBufferDesc pOutput, PULONG pfContextAttr, PTimeStamp ptsExpiry)
|
2012-02-14 07:27:59 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
CREDSSP_CONTEXT* context;
|
2014-06-09 23:25:00 +04:00
|
|
|
SSPI_CREDENTIALS* credentials;
|
2019-11-06 17:24:51 +03:00
|
|
|
context = (CREDSSP_CONTEXT*)sspi_SecureHandleGetLowerPointer(phContext);
|
2012-03-05 06:56:41 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
if (!context)
|
2012-03-05 06:56:41 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
context = credssp_ContextNew();
|
2012-03-05 06:56:41 +04:00
|
|
|
|
2014-06-07 01:20:34 +04:00
|
|
|
if (!context)
|
|
|
|
return SEC_E_INSUFFICIENT_MEMORY;
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
credentials = (SSPI_CREDENTIALS*)sspi_SecureHandleGetLowerPointer(phCredential);
|
2012-03-05 06:56:41 +04:00
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
if (!credentials)
|
|
|
|
{
|
|
|
|
credssp_ContextFree(context);
|
|
|
|
return SEC_E_INVALID_HANDLE;
|
|
|
|
}
|
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
sspi_SecureHandleSetLowerPointer(phNewContext, context);
|
2019-11-06 17:24:51 +03:00
|
|
|
sspi_SecureHandleSetUpperPointer(phNewContext, (void*)CREDSSP_PACKAGE_NAME);
|
2012-03-05 06:56:41 +04:00
|
|
|
}
|
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
return SEC_E_OK;
|
2012-02-14 07:27:59 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
CREDSSP_CONTEXT* credssp_ContextNew(void)
|
2012-02-29 20:57:43 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
CREDSSP_CONTEXT* context;
|
2019-11-06 17:24:51 +03:00
|
|
|
context = (CREDSSP_CONTEXT*)calloc(1, sizeof(CREDSSP_CONTEXT));
|
2012-02-29 20:57:43 +04:00
|
|
|
|
2014-06-07 01:20:34 +04:00
|
|
|
if (!context)
|
|
|
|
return NULL;
|
2012-02-29 20:57:43 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
return context;
|
2012-05-24 23:52:20 +04:00
|
|
|
}
|
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
void credssp_ContextFree(CREDSSP_CONTEXT* context)
|
2011-07-01 02:51:46 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
free(context);
|
2011-07-19 02:43:23 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_QueryContextAttributes(PCtxtHandle phContext,
|
2019-11-06 17:24:51 +03:00
|
|
|
ULONG ulAttribute, void* pBuffer)
|
2012-05-24 23:52:20 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
if (!phContext)
|
|
|
|
return SEC_E_INVALID_HANDLE;
|
2012-05-24 23:52:20 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
if (!pBuffer)
|
|
|
|
return SEC_E_INSUFFICIENT_MEMORY;
|
2012-05-24 23:52:20 +04:00
|
|
|
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2012-05-25 09:50:46 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-05-24 23:52:20 +04:00
|
|
|
}
|
|
|
|
|
2019-11-20 13:30:14 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_AcquireCredentialsHandleW(
|
2019-11-06 17:24:51 +03:00
|
|
|
SEC_WCHAR* pszPrincipal, SEC_WCHAR* pszPackage, ULONG fCredentialUse, void* pvLogonID,
|
|
|
|
void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, PCredHandle phCredential,
|
|
|
|
PTimeStamp ptsExpiry)
|
2011-07-19 02:43:23 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-05-24 23:52:20 +04:00
|
|
|
}
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_AcquireCredentialsHandleA(
|
|
|
|
SEC_CHAR* pszPrincipal, SEC_CHAR* pszPackage, ULONG fCredentialUse, void* pvLogonID,
|
|
|
|
void* pAuthData, SEC_GET_KEY_FN pGetKeyFn, void* pvGetKeyArgument, PCredHandle phCredential,
|
|
|
|
PTimeStamp ptsExpiry)
|
2012-05-24 23:52:20 +04:00
|
|
|
{
|
2014-06-09 23:25:00 +04:00
|
|
|
SSPI_CREDENTIALS* credentials;
|
2012-05-25 09:50:46 +04:00
|
|
|
SEC_WINNT_AUTH_IDENTITY* identity;
|
2012-05-24 23:52:20 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
if (fCredentialUse == SECPKG_CRED_OUTBOUND)
|
|
|
|
{
|
|
|
|
credentials = sspi_CredentialsNew();
|
2014-06-07 01:20:34 +04:00
|
|
|
|
|
|
|
if (!credentials)
|
|
|
|
return SEC_E_INSUFFICIENT_MEMORY;
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
identity = (SEC_WINNT_AUTH_IDENTITY*)pAuthData;
|
2012-05-25 09:50:46 +04:00
|
|
|
CopyMemory(&(credentials->identity), identity, sizeof(SEC_WINNT_AUTH_IDENTITY));
|
2019-11-06 17:24:51 +03:00
|
|
|
sspi_SecureHandleSetLowerPointer(phCredential, (void*)credentials);
|
|
|
|
sspi_SecureHandleSetUpperPointer(phCredential, (void*)CREDSSP_PACKAGE_NAME);
|
2012-05-25 09:50:46 +04:00
|
|
|
return SEC_E_OK;
|
|
|
|
}
|
2012-05-24 23:52:20 +04:00
|
|
|
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-05-24 23:52:20 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_QueryCredentialsAttributesW(PCredHandle phCredential,
|
2019-11-06 17:24:51 +03:00
|
|
|
ULONG ulAttribute,
|
|
|
|
void* pBuffer)
|
2011-07-01 02:51:46 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2011-07-18 22:56:08 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_QueryCredentialsAttributesA(PCredHandle phCredential,
|
2019-11-06 17:24:51 +03:00
|
|
|
ULONG ulAttribute,
|
|
|
|
void* pBuffer)
|
2011-07-18 10:34:28 +04:00
|
|
|
{
|
2012-05-25 09:50:46 +04:00
|
|
|
if (ulAttribute == SECPKG_CRED_ATTR_NAMES)
|
2011-07-19 00:16:37 +04:00
|
|
|
{
|
2019-11-06 17:24:51 +03:00
|
|
|
SSPI_CREDENTIALS* credentials =
|
|
|
|
(SSPI_CREDENTIALS*)sspi_SecureHandleGetLowerPointer(phCredential);
|
2011-07-19 00:16:37 +04:00
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
if (!credentials)
|
|
|
|
return SEC_E_INVALID_HANDLE;
|
2011-07-18 10:34:28 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
return SEC_E_OK;
|
2011-07-19 00:16:37 +04:00
|
|
|
}
|
2011-07-18 10:34:28 +04:00
|
|
|
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2012-05-25 09:50:46 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2011-07-18 10:34:28 +04:00
|
|
|
}
|
2011-07-01 02:51:46 +04:00
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_FreeCredentialsHandle(PCredHandle phCredential)
|
2011-07-01 02:51:46 +04:00
|
|
|
{
|
2014-06-09 23:25:00 +04:00
|
|
|
SSPI_CREDENTIALS* credentials;
|
2011-07-01 02:51:46 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
if (!phCredential)
|
|
|
|
return SEC_E_INVALID_HANDLE;
|
2011-07-01 02:51:46 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
credentials = (SSPI_CREDENTIALS*)sspi_SecureHandleGetLowerPointer(phCredential);
|
2011-07-19 01:02:06 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
if (!credentials)
|
|
|
|
return SEC_E_INVALID_HANDLE;
|
2011-07-01 02:51:46 +04:00
|
|
|
|
2012-05-25 09:50:46 +04:00
|
|
|
sspi_CredentialsFree(credentials);
|
|
|
|
return SEC_E_OK;
|
2011-07-01 02:51:46 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_EncryptMessage(PCtxtHandle phContext, ULONG fQOP,
|
2019-11-06 17:24:51 +03:00
|
|
|
PSecBufferDesc pMessage, ULONG MessageSeqNo)
|
2012-03-19 04:08:05 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-03-19 04:08:05 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_DecryptMessage(PCtxtHandle phContext,
|
2019-11-06 17:24:51 +03:00
|
|
|
PSecBufferDesc pMessage, ULONG MessageSeqNo,
|
|
|
|
ULONG* pfQOP)
|
2012-03-05 06:56:41 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2012-03-05 06:56:41 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_MakeSignature(PCtxtHandle phContext, ULONG fQOP,
|
2019-11-06 17:24:51 +03:00
|
|
|
PSecBufferDesc pMessage, ULONG MessageSeqNo)
|
2011-07-01 02:51:46 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2011-07-01 02:51:46 +04:00
|
|
|
}
|
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static SECURITY_STATUS SEC_ENTRY credssp_VerifySignature(PCtxtHandle phContext,
|
2019-11-06 17:24:51 +03:00
|
|
|
PSecBufferDesc pMessage,
|
|
|
|
ULONG MessageSeqNo, ULONG* pfQOP)
|
2011-07-01 02:51:46 +04:00
|
|
|
{
|
2020-08-10 15:43:37 +03:00
|
|
|
WLog_ERR(TAG, "[%s]: TODO: Implement", __FUNCTION__);
|
2014-06-07 01:20:34 +04:00
|
|
|
return SEC_E_UNSUPPORTED_FUNCTION;
|
2011-07-01 02:51:46 +04:00
|
|
|
}
|
2012-02-23 08:41:22 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
const SecurityFunctionTableA CREDSSP_SecurityFunctionTableA = {
|
|
|
|
1, /* dwVersion */
|
|
|
|
NULL, /* EnumerateSecurityPackages */
|
2012-05-25 09:50:46 +04:00
|
|
|
credssp_QueryCredentialsAttributesA, /* QueryCredentialsAttributes */
|
2019-11-06 17:24:51 +03:00
|
|
|
credssp_AcquireCredentialsHandleA, /* AcquireCredentialsHandle */
|
|
|
|
credssp_FreeCredentialsHandle, /* FreeCredentialsHandle */
|
|
|
|
NULL, /* Reserved2 */
|
|
|
|
credssp_InitializeSecurityContextA, /* InitializeSecurityContext */
|
|
|
|
NULL, /* AcceptSecurityContext */
|
|
|
|
NULL, /* CompleteAuthToken */
|
|
|
|
NULL, /* DeleteSecurityContext */
|
|
|
|
NULL, /* ApplyControlToken */
|
|
|
|
credssp_QueryContextAttributes, /* QueryContextAttributes */
|
|
|
|
NULL, /* ImpersonateSecurityContext */
|
|
|
|
NULL, /* RevertSecurityContext */
|
|
|
|
credssp_MakeSignature, /* MakeSignature */
|
|
|
|
credssp_VerifySignature, /* VerifySignature */
|
|
|
|
NULL, /* FreeContextBuffer */
|
|
|
|
NULL, /* QuerySecurityPackageInfo */
|
|
|
|
NULL, /* Reserved3 */
|
|
|
|
NULL, /* Reserved4 */
|
|
|
|
NULL, /* ExportSecurityContext */
|
|
|
|
NULL, /* ImportSecurityContext */
|
|
|
|
NULL, /* AddCredentials */
|
|
|
|
NULL, /* Reserved8 */
|
|
|
|
NULL, /* QuerySecurityContextToken */
|
|
|
|
credssp_EncryptMessage, /* EncryptMessage */
|
|
|
|
credssp_DecryptMessage, /* DecryptMessage */
|
|
|
|
NULL, /* SetContextAttributes */
|
2012-02-23 08:41:22 +04:00
|
|
|
};
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
const SecurityFunctionTableW CREDSSP_SecurityFunctionTableW = {
|
|
|
|
1, /* dwVersion */
|
|
|
|
NULL, /* EnumerateSecurityPackages */
|
2012-05-25 09:50:46 +04:00
|
|
|
credssp_QueryCredentialsAttributesW, /* QueryCredentialsAttributes */
|
2019-11-06 17:24:51 +03:00
|
|
|
credssp_AcquireCredentialsHandleW, /* AcquireCredentialsHandle */
|
|
|
|
credssp_FreeCredentialsHandle, /* FreeCredentialsHandle */
|
|
|
|
NULL, /* Reserved2 */
|
|
|
|
credssp_InitializeSecurityContextW, /* InitializeSecurityContext */
|
|
|
|
NULL, /* AcceptSecurityContext */
|
|
|
|
NULL, /* CompleteAuthToken */
|
|
|
|
NULL, /* DeleteSecurityContext */
|
|
|
|
NULL, /* ApplyControlToken */
|
|
|
|
credssp_QueryContextAttributes, /* QueryContextAttributes */
|
|
|
|
NULL, /* ImpersonateSecurityContext */
|
|
|
|
NULL, /* RevertSecurityContext */
|
|
|
|
credssp_MakeSignature, /* MakeSignature */
|
|
|
|
credssp_VerifySignature, /* VerifySignature */
|
|
|
|
NULL, /* FreeContextBuffer */
|
|
|
|
NULL, /* QuerySecurityPackageInfo */
|
|
|
|
NULL, /* Reserved3 */
|
|
|
|
NULL, /* Reserved4 */
|
|
|
|
NULL, /* ExportSecurityContext */
|
|
|
|
NULL, /* ImportSecurityContext */
|
|
|
|
NULL, /* AddCredentials */
|
|
|
|
NULL, /* Reserved8 */
|
|
|
|
NULL, /* QuerySecurityContextToken */
|
|
|
|
credssp_EncryptMessage, /* EncryptMessage */
|
|
|
|
credssp_DecryptMessage, /* DecryptMessage */
|
|
|
|
NULL, /* SetContextAttributes */
|
2012-03-24 23:47:16 +04:00
|
|
|
};
|
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
const SecPkgInfoA CREDSSP_SecPkgInfoA = {
|
|
|
|
0x000110733, /* fCapabilities */
|
|
|
|
1, /* wVersion */
|
|
|
|
0xFFFF, /* wRPCID */
|
|
|
|
0x000090A8, /* cbMaxToken */
|
|
|
|
"CREDSSP", /* Name */
|
2012-03-24 09:01:28 +04:00
|
|
|
"Microsoft CredSSP Security Provider" /* Comment */
|
2012-02-23 08:41:22 +04:00
|
|
|
};
|
2012-03-24 23:47:16 +04:00
|
|
|
|
2017-11-14 15:56:19 +03:00
|
|
|
static WCHAR CREDSSP_SecPkgInfoW_Name[] = { 'C', 'R', 'E', 'D', 'S', 'S', 'P', '\0' };
|
2012-06-04 03:59:35 +04:00
|
|
|
|
2019-11-06 17:24:51 +03:00
|
|
|
static WCHAR CREDSSP_SecPkgInfoW_Comment[] = { 'M', 'i', 'c', 'r', 'o', 's', 'o', 'f', 't',
|
|
|
|
' ', 'C', 'r', 'e', 'd', 'S', 'S', 'P', ' ',
|
|
|
|
'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', ' ',
|
|
|
|
'P', 'r', 'o', 'v', 'i', 'd', 'e', 'r', '\0' };
|
|
|
|
|
|
|
|
const SecPkgInfoW CREDSSP_SecPkgInfoW = {
|
|
|
|
0x000110733, /* fCapabilities */
|
|
|
|
1, /* wVersion */
|
|
|
|
0xFFFF, /* wRPCID */
|
|
|
|
0x000090A8, /* cbMaxToken */
|
|
|
|
CREDSSP_SecPkgInfoW_Name, /* Name */
|
2012-06-04 03:59:35 +04:00
|
|
|
CREDSSP_SecPkgInfoW_Comment /* Comment */
|
2012-03-24 23:47:16 +04:00
|
|
|
};
|