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

LDAP Connections Do Not Use Correct PORT

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.20.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Compass 1.17.0

      Behavior:

      The connection string generated for a replica set does not include the port on all hosts.

      Reproduction:

      1. Start two replica sets that each have two members, one with all members listening on 27017 and one with all members on 27018
        • e.g. rs0 has two members: server0:27017 and server1:27017
        • rs1: server0:27018 and server1:27018
      2. Add both hosts to the server hostname list
        • e.g. server0,server1
      3. Add port 27018
      4. Authentication Type: LDAP
      5. Connect
      6. Connection will be to the 27017 node or you may receive an error indicating that replica sets do not match.

      Workaround:

      Use a single host for your connection string or ensure that the node you want to connect to is running on the default port.

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            kip.iwakiri@mongodb.com Kip Iwakiri (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: