Skip to content

Commit 4f8587f

Browse files
authored
Merge pull request Pennyw0rth#745 from Pennyw0rth/fix-cbt-check
Fix Pennyw0rth#744
2 parents 4d7ec6e + b7259fd commit 4f8587f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ def check_ldaps_cbt(self):
276276
self.logger.debug(f"LDAPSessionError while checking for channel binding requirements (likely NTLM disabled): {e!s}")
277277
except SysCallError as e:
278278
self.logger.debug(f"Received SysCallError when trying to enumerate channel binding support: {e!s}")
279-
if e.args[1] in ["ECONNRESET", "WSAECONNRESET"]:
279+
if e.args[1] in ["ECONNRESET", "WSAECONNRESET", "Unexpected EOF"]:
280280
self.cbt_status = "No TLS cert"
281281
else:
282282
raise

0 commit comments

Comments
 (0)