From f6772833ec27fe87ebc1b10c11ce4d1a41a37f57 Mon Sep 17 00:00:00 2001 From: zblurx Date: Thu, 25 Apr 2024 19:06:14 +0200 Subject: [PATCH] test signing with kerberos auth --- msldap/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msldap/connection.py b/msldap/connection.py index f8579f1..71f5e33 100644 --- a/msldap/connection.py +++ b/msldap/connection.py @@ -397,9 +397,9 @@ async def bind(self): if self.target.protocol == UniProto.CLIENT_SSL_TCP: flags = ISC_REQ.CONNECTION - # this switch is for the case when we are using NTLM and we want to disable signing + # this switch is for the case when we want to disable signing # useful for testing if the server supports it - if self.credential.protocol == asyauthProtocol.NTLM and self._disable_signing is True: + if self._disable_signing is True: flags = ISC_REQ.CONNECTION data, to_continue, err = await self.auth.authenticate(challenge, cb_data = self.cb_data, spn=self.target.to_target_string(), flags=flags)