Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-10680

Change setspn.exe command line args

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: 3.4.0
    • Component/s: dochub, Server
    • Labels:
      None

      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"

            Assignee:
            tony.sansone@mongodb.com Anthony Sansone (Inactive)
            Reporter:
            diana.esteves@mongodb.com Diana Esteves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 30 weeks, 4 days ago