Unclear error message when saslauthd is down

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Security
    • Server Security
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When trying to authenticate on the shell to an LDAP service (via saslauthd), if saslauthd is down, the following error message is registered in the mongod logs:
      PLAIN authentication failed for username on $external ; ProtocolError SASL(-1): generic failure: Password verification failed.

      In the mongo shell, we see Error: 18 Authentication failed. It is unclear from this message that saslauthd's unavailability is the cause of this problem. The same happens if the LDAP server is down (at least for users whose credentials aren't cached by saslauthd).

            Assignee:
            [DO NOT USE] Backlog - Security Team
            Reporter:
            Adinoyi Omuya (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: