<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>artykul8 &#187; IIS</title>
	<atom:link href="http://artykul8.com/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://artykul8.com</link>
	<description>ar·tic·u·late (v.) to make clear or effective</description>
	<lastBuildDate>Thu, 01 Sep 2011 16:50:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Windows Server, IIS/SharePoint, and NULL SID &#8216;Audit Failure&#8217; Security Errors</title>
		<link>http://artykul8.com/2010/01/windows-server-iis-sharepoint-and-null-sid-audit-failures/</link>
		<comments>http://artykul8.com/2010/01/windows-server-iis-sharepoint-and-null-sid-audit-failures/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 20:24:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://artykul8.com/?p=166</guid>
		<description><![CDATA[I stumbled across this issue, while troubleshooting errors accessing host-named SharePoint sites locally from within a web server (sites with specified host headers different from local server name). While I had no problems accessing the same site from another computer, I could not login and access any pages locally. I was constantly prompted for user [...]]]></description>
			<content:encoded><![CDATA[<p>I stumbled across this issue, while troubleshooting errors accessing host-named SharePoint sites locally from within a web server (sites with specified host headers different from local server name).<br />
While I had no problems accessing the same site from another computer, I could not login and access any pages locally. I was constantly prompted for user name and password receiving access errors, while my Security event log was getting filled with &#8216;Audit Failure&#8217; log messages about NULL SID: &#8220;An account failed to log on. Security ID: NULL SID&#8221;.</p>
<p><a href="http://artykul8.com/media/2010/01/auditfailure.gif"><img src="http://artykul8.com/media/2010/01/auditfailure-450x410.gif" alt="" title="auditfailure" width="450" height="410" class="alignnone size-medium wp-image-177" /></a></p>
<p>After eliminating all possible causes &#8211; NLB, SharePoint site configuration, IIS security and settings &#8211; it turned out that it wasn&#8217;t even IIS- or SharePoint-related issue at all. Starting with Windows Server 2003 SP1 and higher (Windows Server 2008 and R2 editions in that list as well), as a security measure Microsoft introduced a loopback check to prevent <a href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack">man-in-the-middle (MITM) attack</a>, when a malicious application (such as spyware) can try to eavesdrop communication with a remote server by introducing itself locally as a remote host. Please note: loopback check happens only when host headers do not match local computer name.</p>
<p>The symptoms and solutions are described in Microsoft KB article: <strong><a href="http://support.microsoft.com/kb/896861">http://support.microsoft.com/kb/896861</a></strong><br />
Additionally a few other related issues (accessing network shares, etc) are outlined in two more KB articles: <a href="http://support.microsoft.com/kb/887993">http://support.microsoft.com/kb/887993</a> and <a href="http://support.microsoft.com/kb/926642">http://support.microsoft.com/kb/926642</a>.</p>
<p>To deal with this issue you have two options: either explicitly specify all host headers in the registry (the most secure, but also the most cumbersome solution), or disable loopback check entirely.</p>
<p>If you decide to opt for completely disabling loopback check (on a development or test server), here is one command line you can achieve it through. Please remember to restart your server after changing the registry!</p>
<p> <strong>REG ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v DisableLoopbackCheck /t REG_DWORD /d 1</strong></p>
<p><img src="http://artykul8.com/media/2010/01/disableloopbackcheck.gif" alt="" title="disableloopbackcheck" width="806" height="96" class="alignnone size-full wp-image-167" /></p>
]]></content:encoded>
			<wfw:commentRss>http://artykul8.com/2010/01/windows-server-iis-sharepoint-and-null-sid-audit-failures/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

