Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


Return to article

Learning About the servicePrincipalName Attribute
 

Q: Where are SPNs stored in Active Directory (AD)?

A: Each object has a servicePrincipal- Name attribute, which is a multivalue attribute in which all SPNs are stored. You can use ADSI Edit to view the attribute. If the SPN is for a machine’s Local System account, the SPN would be stored in the servicePrincipalName attribute of the Computers account in AD. You shouldn’t write to this value directly. It should be updated only via the DsWriteAccountSpn call (but you can update it directly by using tools such as ADSI Edit).

When a client requests a connection to a service, the Key Distribution Center (KDC) searches the forest for a user or computer account for which the SPN is registered. If the KDC finds registration in more than one account, the request for authentication fails, indicating a rogue service registration.

—John Savill







Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement