[SERVER-23106] issue to add user Created: 14/Mar/16  Updated: 14/Mar/16  Resolved: 14/Mar/16

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

Type: Bug Priority: Major - P3
Reporter: BASKAR Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

i have added user the below query

db.addUser({
    user: "travel",
    pwd: "h3rm3s123",
    roles: [{
        role: "readWrite",
        db: "admin"
    }]
})

the try it below query it is getting error kindly advice me

> db.auth('travel', 'h3rm3s123')
Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 }
0



 Comments   
Comment by Ramon Fernandez Marina [ 14/Mar/16 ]

Thanks for your report baskar_lak. Please note that the 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, where your question will reach a larger audience. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources.

Regards,
Ramón.

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