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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change

      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.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: