Subscribe to Windows IT Pro
July 28, 2008 12:00 AM

Learning About the servicePrincipalName Attribute

Windows IT Pro
InstantDoc ID #99408
Rating: (2)

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

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.