The client auth code should make sure there are no invalid entries in the auth BSON document

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • legacy-0.9.0
    • Affects Version/s: legacy-0.0-26compat-2.6.0-rc1
    • Component/s: Implementation
    • Environment:
      Windows 8.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DBClientConnection::auth and sub-calls should ensure that the authentication parameters BSON does not contain invalid entries. For example, the password entry below is incorrect, but the client will not report any error and just proceed as if no password was specified.

                      BSONObjBuilder b;
                      b << "mechanism" << argv[2] <<
                           "user" << argv[3] <<
                           "password" << argv[4] <<
                           "clientLogLevel" << 1;
      

              Assignee:
              Mira Carey
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: