<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Strange Windows Authentication Behavior</title>
	<atom:link href="http://www.kerrywong.com/2009/07/30/strange-windows-authentication-behavior/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kerrywong.com/2009/07/30/strange-windows-authentication-behavior/</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 01:25:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt Neerincx (MSFT)</title>
		<link>http://www.kerrywong.com/2009/07/30/strange-windows-authentication-behavior/comment-page-1/#comment-45210</link>
		<dc:creator>Matt Neerincx (MSFT)</dc:creator>
		<pubDate>Sun, 31 Jan 2010 01:02:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1429#comment-45210</guid>
		<description>Yes, this is difficult behavior to explain but I can take a crack.

If the SQL Server is a default instance and running on a non-standard port (not running on 1433), then tcp protocol will always fail.  You have to specify the port for tcp.  What happens next is the client provider will try named pipes protocol after tcp protocol fails.   Named pipes uses a well known named pipe and will work as long as the thread of execution has sufficient NT security to perform SMB request to remote server.

Depending upon how you configure ASP.NET security the named pipe can fail or succeed.  Tcp is agnostic to NT security and will succeed as long as you supply the port.

This applies to default instance, if it&#039;s a named instance client does not have to supply port the port is determined by running a UDP 1434 lookup.</description>
		<content:encoded><![CDATA[<p>Yes, this is difficult behavior to explain but I can take a crack.</p>
<p>If the SQL Server is a default instance and running on a non-standard port (not running on 1433), then tcp protocol will always fail.  You have to specify the port for tcp.  What happens next is the client provider will try named pipes protocol after tcp protocol fails.   Named pipes uses a well known named pipe and will work as long as the thread of execution has sufficient NT security to perform SMB request to remote server.</p>
<p>Depending upon how you configure ASP.NET security the named pipe can fail or succeed.  Tcp is agnostic to NT security and will succeed as long as you supply the port.</p>
<p>This applies to default instance, if it&#8217;s a named instance client does not have to supply port the port is determined by running a UDP 1434 lookup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.kerrywong.com/2009/07/30/strange-windows-authentication-behavior/comment-page-1/#comment-35830</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 31 Jul 2009 03:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.kerrywong.com/?p=1429#comment-35830</guid>
		<description>So I assume it&#039;s still working? That sure was weird and I agree not so satisfying since the &quot;fix&quot; didn&#039;t make a whole lot of sense. In retrospect, we could have tried running SQL Server Profiler to see if a connection was actually being made or ask the network guys to run a sniffer trace if it really got bad.</description>
		<content:encoded><![CDATA[<p>So I assume it&#8217;s still working? That sure was weird and I agree not so satisfying since the &#8220;fix&#8221; didn&#8217;t make a whole lot of sense. In retrospect, we could have tried running SQL Server Profiler to see if a connection was actually being made or ask the network guys to run a sniffer trace if it really got bad.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
