Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1399

Update the MongoDB connection URL for GSSAPI authentication

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • None
    • 3.6
    • Docs
    • None

    Description

      In the Authentication Examples, the URL for connecting with GSSAPI could be more clear:

      uri = "mongodb://mongodbuser%40EXAMPLE.COM@example.com/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:myservicename"

      As the KDC domain and MongoDB server are the same, it's not easy to see where the user principal ends. Perhaps this is better:

      uri = "mongodb://mongodbuser%40EXAMPLE.COM@mongo-server.example.com/?authMechanism=GSSAPI&authMechanismProperties=SERVICE_NAME:myservicename"

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            brian.moss@mongodb.com Brian Moss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: