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

Check that auth is enabled before running authentication tests

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      PYTHON-556 Done 2.7
      RUBY-733 Done 1.12
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: