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

Add --host to Kerberos mongo shell examples

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      When authenticating using the mongo shell to a Kerberos-enabled instance, the --host flag should be used to prevent the automatic assumption of "localhost". I recommend adding the flag to the examples on both the Linux and Windows documentation pages. It may also be useful to add a line such as:

      Specify your hostname to avoid any issues with "localhost".

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 41 weeks, 1 day ago