[DRIVERS-96] Check that auth is enabled before running authentication tests Created: 24/Jun/13  Updated: 15/Apr/19  Resolved: 16/Dec/14

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Barrie Segal Assignee: Bernie Hackett
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-9685 Support three authentication modes, c... Closed
depends on RUBY-733 Check that authentication is enabled ... Closed
depends on PYTHON-556 Skip authentication tests if auth is ... Closed
Related
Epic Link: Authentication
Driver Compliance:
Key Status/Resolution FixVersion
PYTHON-556 Done 2.7
RUBY-733 Done 1.12

 Description   

With current releases of the MongoDB you can authenticate successfully even if the server was not started with --auth or --keyFile. In a future version (possibly 2.6, but likely 2.8) authentication will fail unless the server is started with --auth or --keyFile.

This server change will break driver tests that try to authenticate without checking that auth is enabled on the server. Drivers should skip auth related tests if auth is not enabled on the server.


Generated at Thu Feb 08 08:20:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.