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

Fix DIGEST-MD5 auth #545

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

andy-igoshin
Copy link

@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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant