Spitting out Kerberos Errors - Driver Version 2.1.5

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 2.1.6
    • Affects Version/s: 2.1.5
    • Component/s: MongoDB 3.2
    • Environment:
      CENTOS 6.7
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Inside /mongodb-core/lib/auth, your try/catch for the Kerberos module is hitting the console with an error if Kerberos is not installed and there is no plan on ever using Kerberos communication. See Below:

      try

      { Kerberos = require_optional('kerberos').Kerberos // Authentication process for Mongo MongoAuthProcess = require_optional('kerberos').processes.MongoAuthProcess }

      catch(err)

      { console.dir(err) }

      Please remove the console.dir statement, as it not signaling that there is truly an error, but that Kerberos is just not installed.

              Assignee:
              Christian Amor Kvalheim
              Reporter:
              George Milonas
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: