[SERVER-32063] mongos responds with "Unauthorized: there are no users authenticated" to an isMaster request using an lsid Created: 21/Nov/17  Updated: 30/Oct/23  Resolved: 01/Feb/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.4, 3.7.2

Type: Bug Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Platforms 2018-01-01, Platforms 2018-01-15, Platforms 2018-02-12
Participants:

 Description   

We should update CmdIsMaster defined in cluster_is_master_cmd.cpp to have requiresAuth() return false as we do with CmdIsMaster in replication_info.cpp for mongod.


Credit to kay.kim for discovering this issue.



 Comments   
Comment by Githook User [ 26/Feb/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-32063 no auth required for mongos isMaster

Unify implementation in mongos with the impl in mongod.

(cherry picked from commit 6bad57ad6bd8b7e1515ce676eccfd4be2ff29fba)
Branch: v3.6
https://github.com/mongodb/mongo/commit/1521b84f5a5fa67176c711a45e72992cb510ad8d

Comment by Githook User [ 01/Feb/18 ]

Author:

{'email': 'jcarey@argv.me', 'name': 'Jason Carey', 'username': 'hanumantmk'}

Message: SERVER-32063 no auth required for mongos isMaster

Unify implementation in mongos with the impl in mongod.
Branch: master
https://github.com/mongodb/mongo/commit/6bad57ad6bd8b7e1515ce676eccfd4be2ff29fba

Comment by Kay Kim (Inactive) [ 21/Nov/17 ]

credit – more like finger pointing

Generated at Thu Feb 08 04:29:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.