-
Notifications
You must be signed in to change notification settings - Fork 1.7k
DOCS-3806: Add gssapiServiceName, gssapiHostName #2001
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -350,4 +350,56 @@ directive: option | |
description: | | ||
Specifies the name of the database on which to run the {{program}}. | ||
optional: true | ||
--- | ||
program: _shared | ||
name: gssapiServiceName | ||
args: null | ||
directive: option | ||
description: | | ||
Non-default name of the service using SASL. This option allows you to | ||
override the default :doc:`Kerberos | ||
</tutorial/control-access-to-mongodb-with-kerberos-authentication>` | ||
service name component of the :doc:`Kerberos | ||
</tutorial/control-access-to-mongodb-with-kerberos-authentication>` | ||
principal name, on a per-instance basis. If unspecified, the default | ||
value is ``mongodb``. | ||
|
||
If you use a non-default value, update the | ||
:setting:`~security.gssapiServiceName` setting with the same value to | ||
allow the mongo shell and any drivers to connect to the :program:`mongo` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should the mongo shell be {{ program }} ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, we accidentally have |
||
shell. | ||
|
||
MongoDB permits setting this option only at startup. The | ||
:dbcommand:`setParameter` can not change this setting. | ||
|
||
This option is available only in MongoDB Enterprise. | ||
|
||
.. important:: Ensure that your driver supports alternate service names. | ||
optional: true | ||
--- | ||
program: _shared | ||
name: gssapiHostName | ||
args: null | ||
directive: option | ||
description: | | ||
Non-default hostname of a service using SASL where the hostname of a | ||
machine does not match the hostname resolved by DNS. Some clients and | ||
drivers use the machine hostname as the fully qualified domain name for | ||
:doc:`Kerberos | ||
</tutorial/control-access-to-mongodb-with-kerberos-authentication>` | ||
authentication. | ||
|
||
This option allows you to override the default :doc:`Kerberos | ||
</tutorial/control-access-to-mongodb-with-kerberos-authentication>` | ||
hostname component of the :doc:`Kerberos | ||
</tutorial/control-access-to-mongodb-with-kerberos-authentication>` | ||
principal hostname, on a per-instance basis. | ||
|
||
This setting permits the mongo shell, drivers, and tools to connect to | ||
the :program:`mongod`. | ||
|
||
This option is available only in MongoDB Enterprise. | ||
|
||
.. important:: Ensure that your driver supports alternate hostnames. | ||
optional: true | ||
... |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,6 +95,8 @@ SSL Options | |
|
||
.. include:: /includes/option/option-mongo-sslAllowInvalidCertificates.rst | ||
|
||
.. include:: /includes/option/option-mongo-gssapiHostName.rst | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need to include the gssapiServiceName as well? |
||
|
||
Files | ||
----- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,6 +122,8 @@ SSL Options | |
.. include:: /includes/option/option-mongos-sslFIPSMode.rst | ||
|
||
|
||
.. include:: /includes/option/option-mongo-gssapiServiceName.rst | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this supposed to be here? I want to say no |
||
|
||
Audit Options | ||
~~~~~~~~~~~~~ | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is gssapiServiceName supposed to be here?