[CDRIVER-1174] Bring Connection URI usage up to spec (v1.2) Created: 24/Mar/16  Updated: 12/Aug/16  Resolved: 25/Apr/16

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

Type: Improvement Priority: Major - P3
Reporter: Hannes Magnusson Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-278 Cross Realm authentication using Kerb... Closed
Related
related to DRIVERS-183 Auth Mechanism Properties in the Conn... Closed
is related to CDRIVER-1478 Implement Connection String Spec Tests Closed

 Description   

Although we support extracting authMechanismProperties and have a function to retrieve those (mongoc_uri_get_mechanism_properties()) we don't actually use the values for anything.

It appears we still use the canonicalizeHostname=bool and gssapiServiceName=string that should be
authMechanismProperties=CANONICALIZE_HOST_NAME:true,SERVICE_REALM:string

See _mongoc_cluster_auth_node_sasl
Spec: https://github.com/mongodb/specifications/blob/master/source/auth/auth.rst



 Comments   
Comment by Githook User [ 25/Apr/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1174 skip SASL test if SASL not configured
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/49b7b6dbbe8c187fdd3f2de2a18742392b467ba2

Comment by Githook User [ 25/Apr/16 ]

Author:

{u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}

Message: CDRIVER-1174 parse SERVICE_NAME and CANONICALIZE_HOST_NAME

The GSSAPI properties SERVICE_NAME and CANONICALIZE_HOST_NAME are now
properly parsed from the URI.
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/268fbe66479f4b981d24d328c9b050aded1bd3cb

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