[SERVER-78911] Always suppress "Different user name was supplied to saslSupportedMechs" log during X.509 intracluster auth Created: 12/Jul/23  Updated: 06/Feb/24  Resolved: 24/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0, 7.0.6, 6.0.14

Type: Bug Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Varun Ravichandran
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
Related
is related to SERVER-70242 Intracluster X509 authentication can ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2
Sprint: Security 2023-07-24, Security 2023-08-21, Security 2023-09-18, Security 2023-10-02, Security 2023-10-16, Security 2023-10-30, Security 2023-11-13, Security 2023-11-27, Security 2023-12-11, Security 2023-12-25
Participants:
Case:

 Description   

SERVER-70242 was intended to suppress the "Different user name was supplied to saslSupportedMechs" warning during intracluster X.509 authentication. Due to an oversight in the implementation, this warning ended up only being suppressed when the server was started with enableTestCommands=1

This should be fixed so that warning is always suppressed for intracluster X.509 authentication, regardless of whether the server is in test-only mode.



 Comments   
Comment by Githook User [ 06/Feb/24 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-78911: Disable different database warning for internal X.509 auth

(cherry picked from commit c0b57f5eba54b10ac8b1dd598c76bcd0f4c08030)
(cherry picked from commit 5b14e18b6628c5a96a67af43f2ab694f322e0786)

GitOrigin-RevId: ff9f7de752ab7f788a09e7cc038e1ce478cf7861
Branch: v6.0
https://github.com/mongodb/mongo/commit/748d85530c5788174884c0b2d28af89ef111f8b2

Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-78911: Disable different database warning for internal X.509 auth

(cherry picked from commit c0b57f5eba54b10ac8b1dd598c76bcd0f4c08030)

GitOrigin-RevId: 5b14e18b6628c5a96a67af43f2ab694f322e0786
Branch: v7.0
https://github.com/mongodb/mongo/commit/dbea00b818a60b7732d9298084f117ffde58a973

Comment by Githook User [ 23/Dec/23 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-78911: Disable different database warning for internal X.509 auth

GitOrigin-RevId: c0b57f5eba54b10ac8b1dd598c76bcd0f4c08030
Branch: master
https://github.com/mongodb/mongo/commit/2b8031acc20c3d12cec088188c8498decd9aba0a

Generated at Thu Feb 08 06:39:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.