Skip to content

Commit ffefb1f

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCSP-19009 remove references to mongosh --gssapiHostName from the manual
1 parent 4921164 commit ffefb1f

File tree

3 files changed

+7
-18
lines changed

3 files changed

+7
-18
lines changed

source/includes/steps-control-access-to-mongodb-windows-with-kerberos-authentication.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,9 @@ action:
111111
Kerberos name, ensure that you specify the fully qualified
112112
domain name (FQDN) for the ``--host``
113113
option, rather than an IP address or unqualified hostname.
114-
115-
If you are connecting to a system whose hostname does not
116-
match the Kerberos name, use :option:`--gssapiHostName <mongosh --gssapiHostName>`
117-
to specify the Kerberos FQDN that it responds to.
118114
- pre: |
119-
Alternatively, you can first connect :binary:`mongo.exe
115+
If you are connecting to a system whose hostname does not
116+
match the Kerberos name, first connect :binary:`mongo.exe
120117
<bin.mongo>` to the :binary:`~bin.mongod.exe`, and then from the
121118
:binary:`mongo.exe <bin.mongo>` shell, use the
122119
:method:`db.auth()` method to authenticate in the ``$external``

source/includes/steps-control-access-to-mongodb-with-kerberos-authentication.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,12 @@ action:
118118
Kerberos name, ensure that you specify the fully qualified
119119
domain name (FQDN) for the ``--host``
120120
option, rather than an IP address or unqualified hostname.
121-
122-
If you are connecting to a system whose hostname does not
123-
match the Kerberos name, use :option:`--gssapiHostName <mongosh --gssapiHostName>`
124-
to specify the Kerberos FQDN that it responds to.
125121
- pre: |
126-
Alternatively, you can first connect :binary:`~bin.mongosh` to the
127-
:binary:`~bin.mongod`, and then from :binary:`~bin.mongosh`, use
128-
the :method:`db.auth()` method to authenticate in the
129-
``$external`` database.
122+
If you are connecting to a system whose hostname does not
123+
match the Kerberos name, first connect :binary:`~bin.mongosh`
124+
to the :binary:`~bin.mongod`, and then from
125+
:binary:`~bin.mongosh`, use the :method:`db.auth()` method to
126+
authenticate in the ``$external`` database.
130127
language: javascript
131128
code: |
132129
use $external

source/reference/configuration-options.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2869,11 +2869,6 @@ Key Management Configuration Options
28692869
and Kerberos authentication. The SASL hostname overrides the hostname
28702870
only for the configuration of SASL and Kerberos.
28712871

2872-
For :binary:`~bin.mongosh` and other MongoDB tools to connect to
2873-
the new :setting:`~security.sasl.hostName`, see the
2874-
``gssapiHostName`` option in :binary:`~bin.mongosh` and other
2875-
tools.
2876-
28772872

28782873

28792874
.. setting:: security.sasl.serviceName

0 commit comments

Comments
 (0)