<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx</link><description>Hi Rob here again. I hope that you found the first blog on troubleshooting Kerberos Authentication problems caused by name resolution informative and learned something about how to review network captures as well as how the SMB protocol works at a high</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3063336</link><pubDate>Fri, 30 May 2008 10:53:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3063336</guid><dc:creator>DRappaport</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;again an excellent post that helps me to better understand Kerberos authentication and related problems.&lt;/p&gt;
&lt;p&gt;In particular, I like most that you include the network traces so that I can see what really happens on the wire.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Dominik&lt;/p&gt;
</description></item><item><title>Interesting Links - 6/3/2008</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3065698</link><pubDate>Wed, 04 Jun 2008 04:39:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3065698</guid><dc:creator>Matt Johnson's Technical Adventures</dc:creator><description>&lt;p&gt;This week's collection of interesting links! Understanding HTTP Flow with Netmon 3 - Interesting article&lt;/p&gt;
</description></item><item><title>Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 2</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3068359</link><pubDate>Mon, 09 Jun 2008 20:35:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3068359</guid><dc:creator>Ask the Directory Services Team</dc:creator><description>&lt;p&gt;So, we saw in Part 1 what kind of error you could expect when there is no Service Principal Name defined&lt;/p&gt;
</description></item><item><title>Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 3</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3069593</link><pubDate>Wed, 11 Jun 2008 21:30:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3069593</guid><dc:creator>Ask the Directory Services Team</dc:creator><description>&lt;p&gt;Now we have seen what it looks like when there is no Service Principal Name defined , and when the Service&lt;/p&gt;
</description></item><item><title>re: Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3237830</link><pubDate>Fri, 08 May 2009 21:43:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3237830</guid><dc:creator>jsmith</dc:creator><description>&lt;p&gt;Thanks for making a difficult subject understandable. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do you set a spn on a domain controller? &amp;nbsp;No matter what I do, ADSIedit or Setspn, in about 15 minutes or a reboot, the DC removes the entries. &lt;/p&gt;
&lt;p&gt;We have a CNAME record &amp;quot;ldap&amp;quot; pointing to a domain controller DNS A record. &amp;nbsp;This is because we don't want our many developers explicitly using a domain controller hostname in their code. &amp;nbsp;When I create &amp;quot;ldap/ldap&amp;quot; and &amp;quot;ldap/ldap.mydomain.com&amp;quot;, the ldap queries successfully use Kerberos. &amp;nbsp;However, after a few minutes, the DC removes the SPN's and then the queries fall back to NTLM. &amp;nbsp;I thought maybe the &amp;quot;ldap/ldap&amp;quot; or &amp;quot;ldap/ldap.mydomain.com&amp;quot; was special so I simply created a &amp;quot;host/tobeornottobe&amp;quot;, rebooted, and the dc removed it. &amp;nbsp;Any suggestions?&lt;/p&gt;
</description></item><item><title>re: Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3239266</link><pubDate>Tue, 12 May 2009 01:42:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3239266</guid><dc:creator>Rob Greene</dc:creator><description>&lt;p&gt;Hey JSmith,&lt;/p&gt;
&lt;p&gt;First let me say thank you for the kind remarks from all of us here that write content for AskDS.&lt;/p&gt;
&lt;p&gt;So I think I know at some level what might be happening to you. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think that Netlogon on the domain controller is writing or doing something with the DNSHostName attribute on the domain controller computer account in Active Direcotry.&lt;/p&gt;
&lt;p&gt;So I worked this case one time, where the customer thought it would be cool to change the computers DNS suffix based on the AD site that they belonged to which caused what we call a Disjointed name space on for the client machines.&lt;/p&gt;
&lt;p&gt;When a computer boots up it checks the DNSHostName attribute on the account. &amp;nbsp;If the name does not reflect the current DNS suffix on the machine it changes it. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then later in LSASS code on the domain controller it will go through and change the Service Principal Name attributes to match the DNSHostName attribute. &amp;nbsp;Since this is a domain controller it is going to re-write all service names and delete ones that should not be there.&lt;/p&gt;
&lt;p&gt;I am currently not sure why we would be writing these values back if the name is not changing. &amp;nbsp;However there is some very specific code in LSASS in regards to domain controllers that you might be seeing this behavior. &amp;nbsp;Another thought that a coworker had is that the KCC might be causing this since it does run every 15 minutes.&lt;/p&gt;
&lt;p&gt;Thinking about your problem, you might try to use the optionalNames registry key on the domain controller. &amp;nbsp;I am not positive if this will resolve the issue or not but you might want to give it a try.&lt;/p&gt;
&lt;p&gt;891607	The supported method of using the OptionalNames registry entry on a computer that is running Windows 2000 or Windows Server 2003&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://vkbexternal/VKBWebService/ViewContent.aspx?scid=KB;EN-US;891607"&gt;http://vkbexternal/VKBWebService/ViewContent.aspx?scid=KB;EN-US;891607&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rob Greene&lt;/p&gt;
</description></item><item><title>re: Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3239893</link><pubDate>Tue, 12 May 2009 21:09:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3239893</guid><dc:creator>Rob Greene</dc:creator><description>&lt;p&gt;Hey JSmith,&lt;/p&gt;
&lt;p&gt;So I did some testing today. &amp;nbsp;Here is how you should be able to make this work on your domain controller.&lt;/p&gt;
&lt;p&gt;Launch ADSIEdit.msc and select the properties of the domain controller. &amp;nbsp;You will want to add the other DNS name to the following attribute on the DC Computer object.&lt;/p&gt;
&lt;p&gt;msds-additionalDnsHostName&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
</description></item><item><title>re: Kerberos Authentication problems – Service Principal Name (SPN) issues - Part 1</title><link>http://blogs.technet.com/askds/archive/2008/05/29/kerberos-authentication-problems-service-principal-name-spn-issues-part-1.aspx#3247270</link><pubDate>Fri, 29 May 2009 00:01:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3247270</guid><dc:creator>jsmith</dc:creator><description>&lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;Your suggestion about using msds-additionalDnsHostName solved the problem. &amp;nbsp;Thanks for your expertise and help!&lt;/p&gt;
</description></item></channel></rss>