Support different authentication databases when using db.copyDatabase()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.6.0
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              Scott Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: