secur32: Update NTLM capabilities to match native.

This commit is contained in:
Hans Leidekker 2012-05-10 13:05:26 +02:00 committed by Alexandre Julliard
parent ebab1c72cf
commit bd7e469760
2 changed files with 11 additions and 8 deletions

View File

@ -1938,14 +1938,16 @@ static WCHAR ntlm_name_W[] = NTLM_NAME;
/* According to Windows, NTLM has the following capabilities. */ /* According to Windows, NTLM has the following capabilities. */
#define CAPS ( \ #define CAPS ( \
SECPKG_FLAG_INTEGRITY | \ SECPKG_FLAG_INTEGRITY | \
SECPKG_FLAG_PRIVACY | \ SECPKG_FLAG_PRIVACY | \
SECPKG_FLAG_TOKEN_ONLY | \ SECPKG_FLAG_TOKEN_ONLY | \
SECPKG_FLAG_CONNECTION | \ SECPKG_FLAG_CONNECTION | \
SECPKG_FLAG_MULTI_REQUIRED | \ SECPKG_FLAG_MULTI_REQUIRED | \
SECPKG_FLAG_IMPERSONATION | \ SECPKG_FLAG_IMPERSONATION | \
SECPKG_FLAG_ACCEPT_WIN32_NAME | \ SECPKG_FLAG_ACCEPT_WIN32_NAME | \
SECPKG_FLAG_READONLY_WITH_CHECKSUM) SECPKG_FLAG_NEGOTIABLE | \
SECPKG_FLAG_LOGON | \
SECPKG_FLAG_RESTRICTED_TOKENS )
static const SecPkgInfoW infoW = { static const SecPkgInfoW infoW = {
CAPS, CAPS,

View File

@ -130,6 +130,7 @@ typedef struct _SecPkgInfoW
#define SECPKG_FLAG_MUTUAL_AUTH 0x00010000 #define SECPKG_FLAG_MUTUAL_AUTH 0x00010000
#define SECPKG_FLAG_DELEGATION 0x00020000 #define SECPKG_FLAG_DELEGATION 0x00020000
#define SECPKG_FLAG_READONLY_WITH_CHECKSUM 0x00040000 #define SECPKG_FLAG_READONLY_WITH_CHECKSUM 0x00040000
#define SECPKG_FLAG_RESTRICTED_TOKENS 0x00080000
#define SECPKG_ID_NONE 0xffff #define SECPKG_ID_NONE 0xffff