Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6334

ReplSet connections magically gets reauthenticated after logging out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.2.0-rc0
    • Component/s: Internal Client
    • Labels:
      None
    • Operating System:
      ALL

      Description

      The issue here is that DBClientReplicaSet keeps an internal auth table when a user logs in, but does not attempt to remove entries when user logs out. And it uses this auth information to authenticate all new connections it creates. Note that a new connection gets created whenever an exception happened over that connection, so the same problem also occurs when the mongod node restarts after logging out.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                renctan Randolph Tan
                Reporter:
                renctan Randolph Tan
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: