Skip to content

Conversation

andy-igoshin
Copy link
Contributor

@andy-igoshin andy-igoshin commented Jan 9, 2025

Some LDAP servers in the process of performing DIGEST-MD5 authentication respond with an additional saslBindInProgress (14) even if qop=auth is matched. Because of this, MD5Bind in go-ldap terminates unsuccessfully.

OpenLDAP ldapsearch and perl Net::LDAP handle this situation successfully.

This patch fixes this problem in go-ldap.

@andy-igoshin andy-igoshin changed the title condition is always true Fix DIGEST-MD5 auth Jan 9, 2025
@andy-igoshin
Copy link
Contributor Author

andy-igoshin commented Jan 9, 2025

The saslBindInProgress (14) description does not specify that the additional saslBindInProgress (14) should only be used in conjunction with qop=auth-int

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 very much for your PR, @andy-igoshin ! May you please take a look at my comment?

@cpuschma cpuschma merged commit 32469eb into go-ldap:master Feb 19, 2025
13 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