[SERVER-35606] listDatabases auth error claims too many users are authenticated Created: 14/Jun/18  Updated: 27/Oct/23  Resolved: 09/Jul/18

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: David Golden Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Tools test have started failing on master-latest.  In one case I spot checked, I saw this output:

[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 2018-06-14T17:09:34.922+0000 E QUERY    [js] Error: listDatabases failed:{
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"operationTime" : Timestamp(1528996174, 15),
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"ok" : 0,
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"errmsg" : "too many users are authenticated",
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"code" : 13,
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"codeName" : "Unauthorized",
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 	"$clusterTime" : {
[js_test:mongofiles_db] 2018-06-14T17:09:34.923+0000 		"clusterTime" : Timestamp(1528996174, 15),
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 		"signature" : {
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 			"keyId" : NumberLong(0)
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 		}
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 	}
[js_test:mongofiles_db] 2018-06-14T17:09:34.924+0000 } :

I understand that many commands have moved behind auth, but the errmsg was surprising.

See this build for examples, such as mongofiles_db.js



 Comments   
Comment by Kaloian Manassiev [ 28/Jun/18 ]

The sharding team won't have bandwidth to pick this up in the near future. Given this and sara.golemon's comment above, I am punting it back to the Platforms team. If platforms won't fix it, I would just close it as WAD.

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