mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed SSPI fallback to NTLM (#7642)
* Fixed SSPI fallback to NTLM * Fixed wide/ansi mixup * WITH_GSS fixes * Move to WinPR as this is not related to FreeRDP * Add option WITH_GSS_NO_NTLM_FALLBACK to disable NTLM fallback * Abort NLA if status is SEC_E_NO_CREDENTIALS * Properly invalidate sspi::SubContext
This commit is contained in:
@@ -811,23 +811,6 @@ if (WITH_OPENH264 AND NOT OPENH264_FOUND)
|
||||
endif()
|
||||
set(WITH_OPENH264 ${OPENH264_FOUND})
|
||||
|
||||
if ( (WITH_GSSAPI) AND (NOT GSS_FOUND))
|
||||
message(WARNING "-DWITH_GSSAPI=ON is set, but not GSSAPI implementation was found, disabling")
|
||||
elseif(WITH_GSSAPI)
|
||||
if(GSS_FLAVOUR STREQUAL "MIT")
|
||||
add_definitions("-DWITH_GSSAPI -DWITH_GSSAPI_MIT")
|
||||
if(GSS_VERSION_1_13)
|
||||
add_definitions("-DHAVE_AT_LEAST_KRB_V1_13")
|
||||
endif()
|
||||
include_directories(${_GSS_INCLUDE_DIR})
|
||||
elseif(GSS_FLAVOUR STREQUAL "Heimdal")
|
||||
add_definitions("-DWITH_GSSAPI -DWITH_GSSAPI_HEIMDAL")
|
||||
include_directories(${_GSS_INCLUDE_DIR})
|
||||
else()
|
||||
message(WARNING "Kerberos version not detected")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(TARGET_ARCH MATCHES "x86|x64")
|
||||
if (NOT APPLE)
|
||||
# Intel Performance Primitives
|
||||
|
||||
Reference in New Issue
Block a user