Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-124

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

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

      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@mongodb.com Mira Carey
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: