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

CDRIVER-5514 drop support for Cyrus-SASL on Windows #1933

Merged
merged 6 commits into from
Mar 18, 2025

Conversation

kevinAlbs
Copy link
Collaborator

Summary

  • Warn if configuring with ENABLE_SASL=CYRUS on Windows
  • Drop tests with Cyrus-SASL on Windows.
  • Remove Windows-specific option CYRUS_PLUGIN_PATH_PREFIX.

Background & Motivation

See CDRIVER-5696. Cyrus-SASL on Windows was untested and has little expected use.

@kevinAlbs kevinAlbs marked this pull request as ready for review March 18, 2025 16:46
@@ -23,6 +23,8 @@ Unreleased (2.0.0)
* `mongoc_cursor_is_alive` is removed. Use the equivalent `mongoc_cursor_more` instead.
* `mongoc_collection_delete` is removed. Use `mongoc_collection_delete_one` or `mongoc_collection_delete_many` instead.
* `mongoc_delete_flags_t` and `mongoc_reply_flags_t` are removed.
* Support for `ENABLE_SASL=CYRUS` on Windows is removed. Use `ENABLE_SASL=SSPI` or `ENABLE_SASL=OFF` instead.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a need to support disabling SASL on Windows if SSPI ships with Windows?

Copy link
Collaborator Author

@kevinAlbs kevinAlbs Mar 18, 2025

Choose a reason for hiding this comment

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

I am not sure if there is a compelling use-case, but it could be used to avoid linking to unnecessary Windows DLLs (e.g. with ENABLE_SASL=OFF and ENABLE_SSL=OFF, I see SECURE32.DLL, CRYPT32.DLL, and BCRYPT.DLL are no longer shown in Dependency Walker.)

@kevinAlbs kevinAlbs merged commit 6b8b81a into mongodb:master Mar 18, 2025
1 check was pending
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.

2 participants