Blog
By Pete Zerger on 9/10/2009 1:33:50 PM • Rank (3647) • Views 3625
0

0

UPDATE (Sept 2009) -

  • Added detail on the fix for granting the OpsMgr SDK account SELF rights to modify the service pricipal name (SPN)
  • Added links to related articles

Alert:

The System Center Operations Manager SDK service failed to register an SPN. A domain admin needs to add MSOMSdkSvc/rmscomputer and MSOMSdkSvc/rmscomputer.domain.com to the servicePrincipalName of DOMAIN\sdkaccount

Issue:

Every time the SDK service starts, it tries to update the SPN’s on the AD account that the SDK service runs under. It fails, because by default, a user cannot update its own SPNs. Therefore we see this error logged.

This issue also may cause issue with agent deployment, resulting in errors 21016, 20057, 21001 in the OpsMgr Event Log on the agent computer

Resolution:

The SDK account is a domain admin ( it does not fail), because a domain admin would have the necessary rights.  You do not want the SDK account being a domain admin. That isn’t required nor is it a best practice.

To resolve this error, allow the SDK service account permission to update the SPN. On user account object for the SDK account in Active Directory, simply grant SELF to have full control. The most secure solution is to only grant SELF the right of modifying the SPN:

  1. Run ADSIEdit as a domain admin.

  2. Find the SDK domain account, right click, properties.

  3. Select the Security tab, click Advanced.

  4. Click Add. Type “SELF” in the object box. Click OK.

  5. Select the Properties Tab.

  6. Scroll down and check the “Allow” box for “Read servicePrincipalName” and “Write servicePrincipalName”

  7. Click OK. Click OK. Click OK.

  8. Restart your SDK service

To check SPNs:

SPNs can be checked with the SETSPN command line utility. The following command will show all the HealthService SPN's in the domain:

  Ldifde -f c:\ldifde.txt -t 3268 -d DC=DOMAIN,DC=COM -r "(serviceprincipalname=MSOMHSvc/*)" -l serviceprincipalname -p subtree

To view SPN's for a specific server: 

    "setspn -L servername"

 

Related Articles:

Submitted By: Pete Zerger, MVP

Map Location


GPS Latitude: 0.00000 Longitude: 0.00000
Comments - Comment RSS


Who Viewed
Who Reviewed
Categories
Related Pages
Shortened URL
http://tinyurl.com/otrta6

Top Contributors
Featured Members
Pete Zerger
Points: 72533
Level: System Center Expert
Tommy Gunn
Points: 47345
Level: System Center Expert
Simon Skinner
Points: 40804
Level: System Center Expert
Andreas Zuckerhut
Points: 30700
Level: System Center Expert
Stefan Koell
Points: 30179
Level: System Center Expert