-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.1.0, 2.1.1
-
Component/s: Security
-
None
-
Environment:osx-x86_64, linux-x86_64
-
ALL
As of 2.1.0, when bootstrapping a server that is running with --auth, I get an error when adding the first admin user. The user does get added but an error is thrown:
> db.addUser('aaa' , 'aaa')
{
"user" : "aaa",
"readOnly" : false,
"pwd" : "23f8b034fedbdf7c2f1c184fbc5452c0",
"_id" : ObjectId("4fd92e5aee90c3265d5ff41d")
}
Wed Jun 13 17:20:42 uncaught exception: getlasterror failed:
- duplicates
-
SERVER-4225 Adding first admin user to database via localhost works but returns error message
- Closed