Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-31071

copyDatabase() command doesn't support an auth DB parameter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Security
    • Sprint:
      Storage NYC 2018-08-13

      Description

      db.copyDatabase has parameters: fromhost, username and password. However, the user is only authenticated against the fromdb.

      We use many databases but store our user authentication in the admin database. There should be an optional 'authdb' parameter which allows the user to be authenticated against that instead.

      It seems inconsistent, since we can connect to a mongo server using any database as the authdb, and then access other databases.

      See SERVER-22576

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maria.vankeulen Maria van Keulen
              Reporter:
              rpavlicek Richard Pavlicek
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: