[SERVER-27932] Unable to authenticate suddenly Created: 07/Feb/17  Updated: 07/Feb/17  Resolved: 07/Feb/17

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

Type: Bug Priority: Major - P3
Reporter: Mohamed Marrouchi Assignee: Mark Agarunov
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Hi,

Today my app crashed suddenly when viewing the log file i found that it was unable to authenticate the user.

I've tried to log into mango shell with the admin user but i get the following message :
Error: 18

{ code: 18, ok: 0.0, errmsg: "auth fails" }

at src/mongo/shell/db.js:228

Then i've updated the mongo config file and commented out "auth=true" then restart mongodb service. I was able to login to mongo shell as admin and managed to change the password. Back to the old config (with auth=true) and i still get a "auth fails".

Can anyone help me ?

MongoDB shell version: 2.4.10
db version v2.4.10



 Comments   
Comment by Mark Agarunov [ 07/Feb/17 ]

Hello marrouchi

Thank you for the report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group.

Additionally, please be aware that the version of MongoDB you are using is now considered End of Life. Therefore, I strongly recommend upgrading to a more recent version of MongoDB, preferably the latest, to take advantage of numerous improvements.

Thanks,
Mark

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