Merge pull request #745 from Pennyw0rth/fix-cbt-check

Fix #744
This commit is contained in:
zblurx
2025-06-19 11:34:18 +02:00
committed by GitHub
+1 -1
View File
@@ -276,7 +276,7 @@ class ldap(connection):
self.logger.debug(f"LDAPSessionError while checking for channel binding requirements (likely NTLM disabled): {e!s}")
except SysCallError as e:
self.logger.debug(f"Received SysCallError when trying to enumerate channel binding support: {e!s}")
if e.args[1] in ["ECONNRESET", "WSAECONNRESET"]:
if e.args[1] in ["ECONNRESET", "WSAECONNRESET", "Unexpected EOF"]:
self.cbt_status = "No TLS cert"
else:
raise