title: MongoDB 3.0.1 problems with auth - RoboMongo
body: <p>I have install MongoDB 3.0.1 in a server (Ubuntu14.04). I need to enable remote authentication for my MongoDB, so that it can only be seen by registered user. Once installed Mongo, I have run these commands:</p>
  
  <pre><code>&gt; use admin
  switched to db products
  &gt; db.createUser({user: "userAdmin", pwd: "admin1234", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]})
  </code></pre>
  
  <p>This is my /etc/mongod.conf":</p>
  
  <pre><code>dbpath = /var/lib/mongodb
  logpath = /var/log/mongodb/mongod.log
  logappend = true
  port = 27017
  bind_ip = 127.0.0.1,SERVER_IP
  auth = true
  </code></pre>
  
  <p>If I try to connect with RoboMongo, I get this message</p>
  
  <pre><code>YES - Connected to SERVER_IP
  NO - Authorization failed
  </code></pre>
  
  <p>If I try to access it from my browser (<a href="http://SERVER_IP:3000/products" rel="noreferrer">http://SERVER_IP:3000/products</a>) I get this message:</p>
  
  <pre><code>null
  </code></pre>
  
  <p>If I change the configuration file this "auth = false" from the browser I can see this (which is correct)</p>
  
  <pre><code>[]
  </code></pre>
  
  <p>But I can not login, someone can help me?</p>