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

GSSAPI AuthProvider causing crashes in Compass

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.6.2
    • 3.6.3
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: