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.
- is depended on by
-
CXX-1529 Update algorithm for Kerberos hostname canonicalization
- Closed
-
PHPC-1139 Update algorithm for Kerberos hostname canonicalization
- Closed
- is related to
-
CDRIVER-791 Support SSPI on Windows
- Closed