[CDRIVER-2537] GSSAPI / Kerberos hostname canonicalization on Windows Created: 08/Mar/18  Updated: 28/Oct/23  Resolved: 15/Mar/18

Status: Closed
Project: C Driver
Component/s: auth
Affects Version/s: 1.6.0
Fix Version/s: 1.10.0

Type: New Feature Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CXX-1529 Update algorithm for Kerberos hostnam... Closed
is depended on by PHPC-1139 Update algorithm for Kerberos hostnam... Closed
Related
is related to CDRIVER-791 Support SSPI on Windows Closed

 Description   

Currently we only respect the CANONICALIZE_HOST_NAME option in the URI for GSSAPI auth when the driver is using Cyrus or Heimdal SASL (typically on Linux or Mac, respectively). Implement the feature on Windows with SSPI, also.

Update _mongoc_cluster_sspi_new to set service_ascii from _mongoc_sasl_get_canonicalized_name (hostname) instead of hostname, if CANONICALIZE_HOST_NAME is in the auth mechanism properties.

Update docs in mongoc_uri_t.rst.



 Comments   
Comment by Githook User [ 15/Mar/18 ]

Author:

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

Message: CDRIVER-2537 canonical GSSAPI hostname with SSPI
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/933ecaeddf57f9f618761614dbe3662ce8c8c4b0

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