[CDRIVER-2345] Update the MongoDB connection URL for GSSAPI authentication Created: 07/Nov/17  Updated: 28/Oct/23  Resolved: 07/Nov/17

Status: Closed
Project: C Driver
Component/s: docs
Affects Version/s: None
Fix Version/s: 1.9.0

Type: Improvement Priority: Trivial - P5
Reporter: Brian Moss Assignee: Brian Moss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

In the GSSAPI (Kerberos) Authentication section, the URL for connecting is currently:

client = mongoc_client_new ("mongodb://mongodbuser%40EXAMPLE.COM@example.com/?authMechanism=GSSAPI");

It could be confusing for the KDC domain and MongoDB server to be the same. Perhaps this is better:

client = mongoc_client_new ("mongodb://mongodbuser%40EXAMPLE.COM@mongo-server.example.com/?authMechanism=GSSAPI");

Also, the kinit example seems to have run two CLI lines together:

$ kinit mongodbuser@EXAMPLE.COMmongodbuser@EXAMPLE.COM's Password:



 Comments   
Comment by Githook User [ 07/Nov/17 ]

Author:

{'name': 'Brian Moss', 'username': 'kallimachos', 'email': 'kallimachos@gmail.com'}

Message: CDRIVER-2345 Update connection URL for GSSAPI auth
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/f090ca40d77d90dfc41a73faa90c325543f6339c

Comment by Brian Moss [ 07/Nov/17 ]

PR: https://github.com/mongodb/mongo-c-driver/pull/459

Generated at Wed Feb 07 21:14:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.