I’m adding to my previous post about delegation to provide more information about Service Principal Names. Recall that you can add SPNs using setspn with the –A switch. Once you’ve run the command to add the SPN you’ll want a way to verify that it took. Normally you can do this by calling setspn with the –L switch and a target computer which will list all the registered SPNs for that computer, but in my experience I have seen custom SPNs excluded from this list. Fortunately there’s a handy VBScript available on TechNet that will query Active Directory and does return a complete list (link below).
If you have verified that your SPN exists but are experiencing problems using it you can reset all SPNs for a computer using the –R switch. Finally, if you need to delete a SPN you can use the –D switch. Running setspn without any arguments will output a list of all the available switches and syntax for using them.
DOWNLOAD: SPN Query utility from TechNet
No comments
Post a Comment