Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2905

Support auth mechanism properties service name

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: kerberos, Shell
    • None
    • Not Needed

      According to https://docs.mongodb.com/drivers/node/fundamentals/authentication/enterprise-mechanisms#kerberos-gssapi-sspi there are 2 ways to specify gssapiServiceName as query string params:

      • ?authMechanismProperties=SERVICE_NAME:alternateServiceName
      • ?gssapiServiceName=alternalteServiceName

      Currently (3.6.3) the node driver only allows a 3rd one: authMechanismProperties=gssapiServiceName:serviceName instead, which should probably be removed.

      Impact on the shell:

      • required to comply with the connection uri format (?authMechanismProperties=SERVICE_NAME:alternateServiceName and ?gssapiServiceName=alternalteServiceName)

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            maurizio.casimirri@mongodb.com Maurizio Casimirri
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: