Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-96

Check that auth is enabled before running authentication tests

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None

      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.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: