Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-486

Connection String AuthSource should default to using connection string database name before defaulting to admin

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 0.0.9
    • 0.0.8, 0.0.7
    • None

    Description

      If an authMechanism is not specified on the connection string, the authSource should always default to the database name specified in the connection string before defaulting to the admin database.

      Add code to ensure that the authSource is set to the database name and only default to admin when the database name is empty.

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: