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

Comment on: "manual/tutorial/enable-authentication-in-sharded-cluster.txt"

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • None

    Description

      Hi
      Sorry but the instructions are not clear enough, to be more precise the step 3.
      I have my configsvr, 5 shards and mongos all started wtih the same "security.keyFile: /etc/mongodb/key_file", I've managed to connect to the mongos port and created the admin user, tried different roles and combinations: root, userAdminAnyDatabase, readWritieAnyDatabase. afterwards I'm able to use this user to connect to the mongos ... but not on any of the others members/components of the cluster.

      so which is the complete and correct procedure ?
      should I create the "admin user" first on the mongod instances and then on the mongos ? it must be the same ? (same user + same pass) ?

      Thank you for your help and time

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8 years, 20 weeks, 4 days ago