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

Change setspn.exe command line args

    XMLWordPrintable

    Details

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

      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"

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              3 years, 4 weeks, 2 days ago
              Date of 1st Reply: