[DOCS-10680] Change setspn.exe command line args Created: 15/Aug/17  Updated: 29/Oct/23  Resolved: 14/Sep/18

Status: Closed
Project: Documentation
Component/s: dochub, Server
Affects Version/s: 3.4.0
Fix Version/s: 3.4.0

Type: Bug Priority: Major - P3
Reporter: Diana Esteves (Inactive) Assignee: Anthony Sansone (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 20 weeks, 2 days ago
Epic Link: DOCSP-1769

 Description   

https://docs.mongodb.com/manual/tutorial/control-access-to-mongodb-windows-with-kerberos-authentication/

Change these two lines:
setspn.exe -A <service>/<fully qualified domain name> <service account name>
setspn.exe -A mongodb/testserver.mongodb.com mongodtest
To:
setspn.exe -S <service>/<fully qualified domain name> <service account name>
setspn.exe -S mongodb/testserver.mongodb.com mongodtest

per setspn.exe docs
"Replaced references to using the –A parameter with reference to use –S instead. The –S parameter verifies that no duplicate SPNs exist before adding a new SPN."

This is also to have consistency with our docs on page https://docs.mongodb.com/manual/tutorial/kerberos-auth-activedirectory-authz/ which shows the command as "-S"



 Comments   
Comment by Githook User [ 24/Sep/18 ]

Author:

{'name': 'Anthony Sansone', 'email': 'tony.sansone@mongodb.com', 'username': 'atsansone'}

Message: (DOCS-10680): Update setspn option.
Branch: master
https://github.com/mongodb/docs/commit/d456b04e5ff25d251deb56506b092b84057b02a1

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