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

DBDirectClient isn't safe to auth

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.2.9
    • 3.2.13, 3.3.15
    • Internal Client
    • Fully Compatible
    • ALL
    • v3.2
    • Hide

      db.eval('db.auth("reader", "reader")')

      Show
      db.eval('db.auth("reader", "reader")')
    • Platforms 2017-03-27
    • 0

    Description

      DBDirectClient doesn't have a port/session (3.2 versus master), so failures in auth (which try to look up the remote address when forming an error) crash the server or trigger a verify.

      Attachments

        Issue Links

          Activity

            People

              matt.cotter Matt Cotter
              jason.carey@mongodb.com Jason Carey
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: