title: django-mongodb-engine and Django's native auth system
body: <p>As stated in the title, I am using <code>django-mongodb-engine</code> and I am attempting to configure the native Django authentication framework. I've read some comments online that it should work out of the box sans some features. However, I couldn't find any tutorials and, furthermore, I am getting errors on trying to set it up on my own. The issue I'm having most certainly has to do with database permissions. I have included the Django middleware and apps per the <a href="https://docs.djangoproject.com/en/1.6/topics/auth/" rel="nofollow">Django docs</a>. However, when I issue the <code>syncdb</code> command it fails with an error. </p>
  
  <pre><code>$ python manage.py syncdb
  OperationFailure: database error: not authorized for query on MyDB.system.namespaces
  </code></pre>
  
  <p>settings.py</p>
  
  <pre><code>DATABASES = {
      'default': {
          'ENGINE': 'django_mongodb_engine',
          'NAME': 'MyDB',
          'USER': 'mySuperUser',
          'PASSWORD': 'mypass',
          'HOST': 'XXX.XXX.XXX.XXX',
          'PORT': '',
      },
      # some other DBs
  }
  </code></pre>
  
  <p>Mongo User Permissions</p>
  
  <pre><code>myDB&gt; db.system.users.find()
  { "_id" : ObjectId("..."), "user" : "mySuperUser", "pwd" : "...", "roles" : [   "readWriteAnyDatabase", "userAdminAnyDatabase",         "dbAdminAnyDatabase",   "clusterAdmin" ] }
  </code></pre>
  
  <p>I'm not sure what other permissions I can grant this guy, and/or where else I need to create this user.</p>
  
  <p>Any ideas?</p>