Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3332

Kerberos auth with Windows SSPI broken with pooled client

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.16.0
    • Affects Version/s: None
    • Component/s: libmongoc
    • None

      When attempting to authenticate with the GSSAPI authMechanism using SSPI on Windows with a pooled client, we succeed at authenticating, but then check a possibly uninitialized bson_error_t here:

      https://github.com/mongodb/mongo-c-driver/blob/505883265e3a78b496a5ce71d9411c07df3db28d/src/libmongoc/src/mongoc/mongoc-cluster-sspi.c#L286-L288

      If it is uninitialized, it returns false even if authentication succeeds, propagating the failure up the operation.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: