Skip to content

Commit

Permalink
Merge pull request #47 from zblurx/kerberos_disable_signing
Browse files Browse the repository at this point in the history
Test signing with kerberos auth
  • Loading branch information
skelsec authored Apr 29, 2024
2 parents 939f1ac + f677283 commit 29dff0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions msldap/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29dff0d

Please sign in to comment.