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

Support different authentication databases when using db.copyDatabase()

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.0
    • None
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: