From 4f1b740c63708e559952f3b9267b2932aff48878 Mon Sep 17 00:00:00 2001 From: Anthony Sansone Date: Fri, 14 Sep 2018 09:19:11 -0500 Subject: [PATCH] (DOCS-10680): Update setspn option. --- ...ongodb-windows-with-kerberos-authentication.txt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/source/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication.txt b/source/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication.txt index 75c43d522ef..623d3510356 100644 --- a/source/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication.txt +++ b/source/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication.txt @@ -76,15 +76,17 @@ account running the ``mongod.exe`` and the ``mongos.exe`` service: .. code-block:: sh - setspn.exe -A / + setspn.exe -S / -For example, if :binary:`~bin.mongod.exe` runs as a service named -``mongodb`` on ``testserver.mongodb.com`` with the service account name -``mongodtest``, assign the SPN as follows: +.. example:: -.. code-block:: sh + If :binary:`~bin.mongod.exe` runs as a service named + ``mongodb`` on ``testserver.mongodb.com`` with the service account + name ``mongodtest``, assign the SPN as follows: + + .. code-block:: sh - setspn.exe -A mongodb/testserver.mongodb.com mongodtest + setspn.exe -S mongodb/testserver.mongodb.com mongodtest .. _enable-mixed-kerberos-and-cr-windows: