Skip to content

DOCSP-19009 remove references to mongosh --gssapiHostName from the ma… #5982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,9 @@ action:
Kerberos name, ensure that you specify the fully qualified
domain name (FQDN) for the ``--host``
option, rather than an IP address or unqualified hostname.

If you are connecting to a system whose hostname does not
match the Kerberos name, use :option:`--gssapiHostName <mongosh --gssapiHostName>`
to specify the Kerberos FQDN that it responds to.
- pre: |
Alternatively, you can first connect :binary:`mongo.exe
If you are connecting to a system whose hostname does not
match the Kerberos name, first connect :binary:`mongo.exe
<bin.mongo>` to the :binary:`~bin.mongod.exe`, and then from the
:binary:`mongo.exe <bin.mongo>` shell, use the
:method:`db.auth()` method to authenticate in the ``$external``
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,12 @@ action:
Kerberos name, ensure that you specify the fully qualified
domain name (FQDN) for the ``--host``
option, rather than an IP address or unqualified hostname.

If you are connecting to a system whose hostname does not
match the Kerberos name, use :option:`--gssapiHostName <mongosh --gssapiHostName>`
to specify the Kerberos FQDN that it responds to.
- pre: |
Alternatively, you can first connect :binary:`~bin.mongosh` to the
:binary:`~bin.mongod`, and then from :binary:`~bin.mongosh`, use
the :method:`db.auth()` method to authenticate in the
``$external`` database.
If you are connecting to a system whose hostname does not
match the Kerberos name, first connect :binary:`~bin.mongosh`
to the :binary:`~bin.mongod`, and then from
:binary:`~bin.mongosh`, use the :method:`db.auth()` method to
authenticate in the ``$external`` database.
language: javascript
code: |
use $external
Expand Down
5 changes: 0 additions & 5 deletions source/reference/configuration-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2869,11 +2869,6 @@ Key Management Configuration Options
and Kerberos authentication. The SASL hostname overrides the hostname
only for the configuration of SASL and Kerberos.

For :binary:`~bin.mongosh` and other MongoDB tools to connect to
the new :setting:`~security.sasl.hostName`, see the
``gssapiHostName`` option in :binary:`~bin.mongosh` and other
tools.



.. setting:: security.sasl.serviceName
Expand Down