title: Not able to run mongodump
body: <p>I have created two users with below roles on my mongoinstance</p>
  
  <pre><code>use mydb
  db.createUser(
    {
      user: "dbUser",
      pwd: "dbPassword",
      roles: [ { role: "dbOwner", db: "mydb" } ]
    }
  )
  
  
  use admin
  db.createUser(
    {
      user: "adminUser",
      pwd: "adminPassword",
      roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
    }
  )
  </code></pre>
  
  <p>MongoDb is up &amp; running using above credentials, Now when i try to take mongodump using below command in terminal</p>
  
  <pre><code>mongodump --host localhost --port 27017 -u dbUser -p dbPassword --authenticationDatabase mydb
  </code></pre>
  
  <p>i am getting below error, not able to resolve this</p>
  
  <pre><code>connected to: localhost:27017
  assertion: 13 not authorized on admin to execute command { getParameter: 1, authSchemaVersion: 1 }
  </code></pre>
  
  <p>Any idea? where i am doing wrong?</p>