Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-1305

Tools now take --authenticationDatabase option and may need it

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None

    Description

      The tools used to automatically try to authenticate to the admin database when auth failed on an ordinary database. They no longer do so.

      The tools now take an --authenticationDatabase option to say what db to use a username/password pair with.

      This tightening was intended, but could be considered a regression for some use cases. See:

      https://jira.mongodb.org/browse/FREE-25302

      The release notes ought to mention that some uses of the tools now need to explicitly specify "--authenticationDatabase admin" to get server-wide or cluster-wide access.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            richard.kreuter Richard Kreuter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 41 weeks ago