Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test signing with kerberos auth #47

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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