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

SASL: user name is not logged if auth fails

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • Affects Version/s: 2.6.5
    • Component/s: Security
    • None
    • Fully Compatible
    • ALL
      1. Create a working setup with saslauthd
      2. stop saslauthd
      3. try to authenticate
      4. check the log
    • Security [00-02-20-15], Security 0 03/13/15], Security 1 04/03/15, Security 9 (09/18/15)

      If we were not able to create a sasl session (e.g. saslauthd is not running), the error message in the log doesn't print out the user name:

      2014-10-23T13:14:19.514-0400 [conn9] ERROR: cannot connect to saslauthd server: Permission denied
      2014-10-23T13:14:19.514-0400 [conn9] ERROR: Password verification failed
      2014-10-23T13:14:19.514-0400 [conn9] PLAIN authentication failed for  on $external ; ProtocolError SASL(-1): generic failure: Password verification failed
      

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: