Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
Description
The release notes currently say:
Add the value of the subject, omitting the spaces, from the certificate as a user. For example, in the mongo shell, to add the user to the test database:
|
use test
|
db.addUser({
|
user: "CN=myName,OU=myOrgUnit,O=myOrg,L=myLocality,ST=myState,C=myCountry",
|
userSource: '$external',
|
roles: ['readAnyDatabase', 'readWriteAnyDatabase']
|
})
|
The userSouce field is no longer valid. The server now figures out if you are adding an admin or regular user based on roles. The part before the addUser call should say "use $external".