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

Allow users to specify a custom NTLM negotiator #544

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

rtpt-erikgeiser
Copy link
Contributor

This PR adds the Negotiator field to NTLMBindRequest which lets users specify a custom NTLM implementation. This is needed because github.com/Azure/go-ntlmssp is a very limited NTLM implementation with no support for features such as channel binding which may be required to connect to AD LDAP.

Copy link
Member

@cpuschma cpuschma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your idea to allow to use a custom negotiator! LGTM so far besides two points regarding the error message.

v3/bind.go Outdated Show resolved Hide resolved
v3/bind.go Outdated Show resolved Hide resolved
@rtpt-erikgeiser
Copy link
Contributor Author

Thanks for the fast review, I implemented your suggestions.

@cpuschma cpuschma merged commit 5d1b644 into go-ldap:master Jan 10, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants