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

Update the MongoDB connection URL for GSSAPI authentication

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.6
    • Affects Version/s: None
    • Component/s: Docs
    • None

      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"

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

              Created:
              Updated:
              Resolved: