[CDRIVER-3334] Test with Cyrus SASL on Windows in evergreen Created: 26/Aug/19  Updated: 28/Oct/23  Resolved: 12/Feb/20

Status: Closed
Project: C Driver
Component/s: auth, libmongoc, tests
Affects Version/s: None
Fix Version/s: 1.17.0-beta, 1.17.0

Type: Improvement Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CDRIVER-3332 Kerberos auth with Windows SSPI broke... Closed
Epic Link: CDRIVER-2733

 Description   

There are two types of SASL tasks for Windows:

debug-compile-sasl-xyz
debug-compile-sspi-xyz

However, the "sasl" tasks default to building with SSPI (not Cyrus). Based on our cmake logic, defaulting to SSPI seems intended when ENABLE_SASL=AUTO on Windows. But this means we aren't testing Cyrus SASL on evergreen. Let's consider making these changes:

  • Rename those "debug-compile-sasl-xyz" tasks to be "debug-compile-cyrus-xyz" and have them build with ENABLE_SASL=Cyrus, and rename the corresponding tests tasks. This way, we're not relying on the value of AUTO. This would be a rename for tasks on all variants, not just Windows.
  • Perhaps leave one "debug-compile-sasl-xyz" to check that configuring with ENABLE_SASL=AUTO works (though tests need not use it) since it'll default to either Cyrus or SSPI, both of which should be tested independantly.


 Comments   
Comment by Githook User [ 12/Feb/20 ]

Author:

{'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}

Message: CDRIVER-3334 test with Cyrus on Windows
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/30d1ebfa3a1c7bb773a18d1bdef08fbc3f912b5b

Generated at Wed Feb 07 21:17:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.