Added note about what to expect from MongoDB's db.auth() command

This commit is contained in:
Troy McConaghy 2017-06-29 17:02:23 +02:00
parent 6b6bfe1733
commit 69cdfd56cf
1 changed files with 3 additions and 0 deletions

View File

@ -561,6 +561,9 @@ Step 12: Configure Users and Access Control for MongoDB
PRIMARY> use admin
PRIMARY> db.auth("adminUser", "superstrongpassword")
``db.auth()`` returns 0 when authentication is not successful,
and 1 when successful.
* We need to specify the user name *as seen in the certificate* issued to
the BigchainDB instance in order to authenticate correctly. Use
the following ``openssl`` command to extract the user name from the