-
Type: Bug
-
Resolution: Done
-
Priority: 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.