Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2859

GSSAPI AuthProvider causing crashes in Compass

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.3
    • Affects Version/s: 3.6.2
    • Component/s: None
    • Labels:
      None

      Compass crashes after a successful authentication to kerberos.

      The authentication with kerberos gets triggered multiple times inside the driver on MongoClient.connect, however the GSSPI code in the driver is not meant to deal with concurrent calls as that seems to break the state of the authentication completely.

      Doing a serialisation of the authentication and reusing the same state for the same requests seems to fix it.

      The setup to reproduce the issue and a possible fix is in this gist:
      https://gist.github.com/mcasimir/1d89b8fa81c8fed51f387f394abe6c51

            Assignee:
            eric.adum@mongodb.com Eric Adum (Inactive)
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: