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

Update shell helper db.auth() to support SASL authentication

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.2
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      Old form:

      db.auth(user, pass)

      Also should support:

      db.auth({ user: <String>, pwd: <null|String>, mechanism: <null|String>})

      which allows specifying a mechanism to use, and also omitting a password for mechanisms like GSSAPI, which do not expect one.

        Attachments

          Activity

            People

            Assignee:
            schwerin Andy Schwerin
            Reporter:
            schwerin Andy Schwerin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: