<?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>Odd: &#187; Mac</title>
	<atom:link href="http://www.odd-uk.com/category/technology/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.odd-uk.com</link>
	<description></description>
	<lastBuildDate>Fri, 13 Mar 2009 19:46:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>OS X Server &amp; Vista</title>
		<link>http://www.odd-uk.com/technology/mac/os-x-server-vista/</link>
		<comments>http://www.odd-uk.com/technology/mac/os-x-server-vista/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 19:51:36 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[OS X Server and Vista / Windows 7]]></category>
		<category><![CDATA[Samba]]></category>

		<guid isPermaLink="false">http://www.odd-uk.com/?p=210</guid>
		<description><![CDATA[I've been fighting on and off for a couple of weeks to get Windows 7 to see, and authenticate, against an OS X Leopard Server Open Directory Master. Well I found a fix today that works! Most of the following also applies to Vista as well and there is a little bit at the end for Vista Home Premium users who don't have access to the secpol.msc snap-in.]]></description>
			<content:encoded><![CDATA[<p>After deciding to go in at the deep end with Windows 7 I have struggling to get the Lappy to see and authenticate into an OS X Server (Leopard 10.5) OpenDirectory environment.</p>
<h3>Symptoms</h3>
<p>I could go into the network pane and the server was visible, double click and an error would pop up &#8220;0&#215;80070035 Network Path not found&#8221; Obviously it was found &#8211; the icon is clearly sat there!</p>
<h3>What I Did First&#8230;</h3>
<p>I messed around with the Samba setting on OS X Server, this had to be done at the command line because Apple don&#8217;t do UI&#8217;s for complex tasks. If they can&#8217;t make it <em>look </em>pretty then it&#8217;s &#8220;screw you dude your an your own, open Terminal&#8221;.</p>
<p><em>It didn&#8217;t work.</em></p>
<p>I messed around with the network settings on Windows 7. Turn IP6 off, tweak this, fiddle with that. Turn IP6 back on. Is the OS X box a WINS server? no! why not? Should it be? Could that be the problem, spend a while pissing around with that idea.</p>
<p><em>It didn&#8217;t work.</em></p>
<p>Check that DNS was working on OS X Server. Apparently if <em>anything</em> isn&#8217;t working on OS X Server it&#8217;s a problem with DNS.</p>
<p><em>DNS was fine.</em></p>
<p>Authentication, hmm, authentication, wait a minute AUTHENTICATION! What about OpenDirectory and Kerberos?</p>
<p><strong><em>Nope and Nope!</em></strong></p>
<h3>&#8230;What I should have done</h3>
<p>GOOGLE GOOGLE GOOGLE!</p>
<p>Now ok, the first path a Google led me down was bogus, it wasn&#8217;t a Firewall/Router issue on either machine, although that did look promising at the start. The actual solution took a bit of digging, it was a know problem for Vista but Windows 7 has added an extra sting in the tail.</p>
<h3>Solutions</h3>
<p>It turns out that Vista, by default, will only use NTLMv2 for authentication. OS X Leopard&#8217;s version of Samba doesn&#8217;t support this protocol. The fix is slightly different depending on your version of Windows.</p>
<p><strong>NOTE:</strong> This downgrades Vista and Widows 7 security level when talking to Samba.</p>
<p><strong>Vista Business &amp; Ultimate</strong></p>
<ol>
<li>Click the start button</li>
<li>Type &#8216;secpol.msc&#8217; in the Start Search box, when it finds it hit return.</li>
<li>Click Continue on the UAC prompt (your ARE still using UAC right <img src='http://www.odd-uk.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</li>
<li>On the left expand &#8216;Local Policy&#8217; then select &#8216;Security Options&#8217;</li>
<li>In the list on the right scroll down to &#8216;Network Security: LAN Manager authentication level&#8217;</li>
<li>Double click and then change the drop down list to display &#8216;Send LM &amp; NTLM responses &#8211; use NTLMv2 session security if negotiated&#8217;</li>
<li>Click OK</li>
<li>Reboot, you should now be able to authenticate against OS X Server Leopard and Samba to access network shares.</li>
</ol>
<p><strong>Windows 7</strong></p>
<p>With Windows 7 Microsoft have increases the baseline security level even further by default, so&#8230;</p>
<ol>
<li>Click the start button</li>
<li>Type &#8216;secpol.msc&#8217; in the Start Search box, when it finds it hit return.</li>
<li>Click Continue on the UAC prompt (your ARE still using UAC right <img src='http://www.odd-uk.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> )</li>
<li>On the left expand &#8216;Local Policy&#8217; then select &#8216;Security Options&#8217;</li>
<li>In the list on the right scroll down to &#8216;Network Security: LAN Manager authentication level&#8217;</li>
<li>Double click and then change the drop down list to display &#8216;Send LM &amp; NTLM responses &#8211; use NTLMv2 session security if negotiated&#8217;</li>
<li>Click OK</li>
<li>In the list on the left find &#8216;Network Security: Minimum session security for NTLM SSP Based (including secure RPC) Clients&#8217; Uncheck &#8216;require 128bit&#8217;</li>
<li>Click OK</li>
<li>Reboot, you should now be able to authenticate against OS X Server Leopard and Samba to access network shares.</li>
</ol>
<p><strong>Vista Home &amp; Home Premium</strong></p>
<p>Neither of these versions of windows have the Local Security Policy snap-in, so we need to take a trip into the registry.</p>
<p><strong>NOTE: </strong>All the standard warnings apply: Backup your registry, be very careful, the world may end if you do something wrong, it defiantly isn&#8217;t my fault if you hose your system &#8211; It works on my machine.</p>
<ol>
<li>Click the Start Button</li>
<li>Type &#8216;regedit.exe&#8217; in the Start Search box, when it&#8217;s found hit return.</li>
<li>Click Continue on the UAC prompt</li>
<li>Carefully negotiate your way to: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlLsa</li>
<li>In the list on the right double click &#8216;LmCompatibilityLevel&#8217; type 1 and press enter.</li>
<li>Close the Registry Editor.</li>
<li>Reboot, you should now be able to authenticate against OS X Server Leopard and Samba to access network shares.</li>
</ol>
<h3>Google Food</h3>
<p>A few versions of what I searched for to hopefully make this easy to find.</p>
<ul>
<li>Error code 0&#215;80070035</li>
<li>Cannot access OS X Leopard Shares from Vista</li>
<li>Cannot access OS X Leopard Shares from Windows 7</li>
<li>Cannot see OS Leopard Server in Network Browser on Vista</li>
<li>Vista authentication problems against OS X Server</li>
<li>Networking OS X Server and Vista.</li>
</ul>
<h3>&#8230;And Finally</h3>
<p>Let&#8217;s not have MS bashing please, you know, &#8220;MS are just spitting their dummy out and making it hard to talk to Macs&#8230;&#8221;, &#8220;Why haven&#8217;t MS made this easier&#8230;&#8221;, or anything with dollar sign in it.</p>
<p>NTLMv2 is an inherently more secure protocol and the blame here falls squarely on Apple inc. for not supporting it. It took a fair bit of digging around to find the solution, and it was, in the main, Microsoft staff and Vista users who supplied the information. I honestly don&#8217;t know if the Apple Support site talks about the problem or offers a solution, mainly because the site is a joke, search results are non-existent or totally irrelevant. Its time you sorted your stall out Apple Chaps.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.odd-uk.com/technology/mac/os-x-server-vista/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
