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

Support different authentication databases when using db.copyDatabase()

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.0
    • Component/s: None
    • None

      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.

            Assignee:
            mark.agarunov Mark Agarunov
            Reporter:
            bgsosh@gmail.com Scott Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: