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

GSSAPI AuthProvider causing crashes in Compass

    XMLWordPrintable

    Details

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

      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

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

              Dates

              Created:
              Updated:
              Resolved: