Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2003

Remove userSource from x.509 docs in 2.6 release notes.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • 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".

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 18 weeks, 1 day ago