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

Support different authentication databases when using db.copyDatabase()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently db.copyDatabase will try to authenticate the user credentials in the specified source database, and it's not possible to authenticate with users from another database (e.g. admin). This makes copyDatabase unusable for setups where users are stored in admin database.

      Ideally copyDatabase should accept an extra parameter, allowing authentication database to be specified.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.agarunov Mark Agarunov
              Reporter:
              sosh bg
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: