[SERVER-26479] Mongo shell throws poor error message when Cyrus SASL GSSAPI is not installed Created: 05/Oct/16  Updated: 31/Jan/17  Resolved: 31/Jan/17

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

Type: Improvement Priority: Minor - P4
Reporter: Danny Hatcher (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-25340 Remove MONGODB-CR cluster authenticat... Closed
Participants:
Case:

 Description   

The mongo shell shows a poor error message when attempting to authenticate with Kerberos and Cyrus SASL GSSAPI is not installed. When attempting to authenticate, it shows the following error:

Error: Missing expected field "mechanism"
0

While correct, it is not helpful. We should provide a more relevant error message to the user.



 Comments   
Comment by Andreas Nilsson [ 17/Oct/16 ]

I think we've fixed this in SERVER-25340 but it was never backported.

Could you try it with the latest 3.3.x build to verify?

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