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

Auth for User DB not Working as in Documentation described

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • 3.4.5
    • manual, Server
    • None
    • PHP 7.0.6 - Ubuntu 16.04 LTS

    Description

      Hello,

      when i'm following the description in the documentation on this site,
      https://docs.mongodb.com/manual/tutorial/enable-authentication/

      And Logged as "test"-User i get an "Unauthorized" on any command. But if i create the "test"-User directly in the "admin"-Database all works fine. The Question is, is there a Bug OR is the Documentation wrong? (or i don't understand it)

      I have exatly followed the documentation, but the only way seems to create the User directly in the "admin"-Database

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjoernhase Björn Hase
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 43 weeks, 6 days ago