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

Audit records for “authenticate” don't match spec

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL

      The spec https://wiki.mongodb.com/display/10GEN/Auditing says that the
      messages for authentication use the phrasing "via mechanism"

      Authentication succeeded for <user>@<db> from <remote ip and port> to <self ip and port> via <mechanism>.
      Authentication failed for <user>@<db> via mechanism <mechanism>.  <message if present> 
      

      But the messages from the server use the phrasing "using mechanism".

                  2013-10-24T10:38:17.843-0400 user2@db1,AuthUser@admin 127.0.0.1:57508/127.0.0.1:27017 000000000000000000000000.0 Authentication failed for user4@db3 using mechanism MONGODB-CR.
                  2013-10-24T10:38:17.846-0400 user2@db1,AuthUser@admin
                  127.0.0.1:57508/127.0.0.1:27017 000000000000000000000000.0
                  Authentication succeeded for AuthUser@admin using mechanism
                  MONGODB-CR.
      

      Both forms are perfectly fine, but the docs need to match the server behavior.

            Assignee:
            matt.dannenberg Matt Dannenberg
            Reporter:
            bard.bloom@10gen.com bard.bloom@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: