Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4382

Kerberos port numbers change between Connection String and Fill In Individual Fields

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • 1.31.0
    • Affects Version/s: 1.21.2
    • Component/s: Compass, Connectivity
    • Labels:
      None
    • Environment:
      macOS 10.14.6

      "Fill in Individual Fields" mode

      Add a Hostname, say "a.b1.net"

      Change the port number to a non-default port, say "33333".

      Choose Kerberos Authentication

      Add Principal, of "test@ANYCO.COM"

      Add Service Name of "mongodb"

      Choose Read Preference of "Primary Preferred"

      Now, generate connection string by clicking "Paste connection string"

      mongodb://test%40ANYCO.COM:null@a.b1.net:27017,a.b2.net:27017,a.b3.net:33333/test?gssapiServiceName=mongodb&authMechanism=GSSAPI&readPreference=primaryPreferred&authSource=%24external&appname=MongoDB%20Compass&ssl=false&authSource=$external

       

      The port number is inconsistent. Both "33333" and "27017" are displayed

      Click "Fill in connection fields individually". Notice the user-entered port number "33333" did not persist. "27017" is the displayed port number.

      Click "Paste connection string" and change the port number to "1111".

      Click "Fill in connection fields individually". Notice the user-entered port number "1111" did not persist. The original "33333" is displayed.

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: