[DOCS-7330] Add --host to Kerberos mongo shell examples Created: 02/Mar/16  Updated: 30/Oct/23  Resolved: 02/May/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Danny Hatcher (Inactive) Assignee: Allison Reinheimer Moore
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 7 years, 41 weeks, 1 day ago

 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".



 Comments   
Comment by Githook User [ 03/May/16 ]

Author:

{u'username': u'schmalliso', u'name': u'Allison Moore', u'email': u'allison.moore@10gen.com'}

Message: DOCS-7330: adds --host and --gssapiHostName flags to connect ex.s

Signed-off-by: kay <kay.kim@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/7afb5d38fd13f40cfc62d4bf0d671a103f5d1219

Generated at Thu Feb 08 07:54:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.