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

Check that auth is enabled before running authentication tests

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              behackett Bernie Hackett
              Reporter:
              barrie Barrie Segal
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: