From b7259fd68cae5fed6b5fe9c34f5d58017018ea91 Mon Sep 17 00:00:00 2001 From: zblurx Date: Tue, 17 Jun 2025 16:58:58 +0200 Subject: [PATCH] Fix #744 --- nxc/protocols/ldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxc/protocols/ldap.py b/nxc/protocols/ldap.py index 5ecf095c..089ecdd7 100644 --- a/nxc/protocols/ldap.py +++ b/nxc/protocols/ldap.py @@ -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