<?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/"
	>

<channel>
	<title>blog.scottlowe.org &#187; Interoperability</title>
	<atom:link href="http://blog.scottlowe.org/category/interoperability/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.scottlowe.org</link>
	<description>The weblog of an IT pro specializing in virtualization, storage, and servers</description>
	<pubDate>Thu, 11 Mar 2010 16:16:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux-AD Integration Issue: Persistent Connections</title>
		<link>http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/</link>
		<comments>http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 18:27:03 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/</guid>
		<description><![CDATA[I worked with a reader recently to find out why some of his Linux servers stopped authenticating properly when one of his Active Directory domain controllers was taken offline. I'm curious to see if anyone else has run into this behavior.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/">Linux-AD Integration Issue: Persistent Connections</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A reader contacted me a short while ago to inquire about a problem he was having with his Linux-AD integration efforts. It seems he had recently added a new domain controller (DC) that was intended to be a DC for a disaster recovery (DR) site. When he took this new DR DC offline in order to physically move it to the DR site, some of his AD-integrated Linux systems started failing to authenticate. More specifically, Kerberos continued to work, but LDAP lookups failed. When the reader would bring the DR DC back online, those systems started working again.</p>
<p>There was a clear correlation between the DR DC and the AD-integrated Linux systems, even though the /etc/ldap.conf file specifically pointed to another DC by IP address. There was no reference whatsoever, by IP address or host name, to the DR DC. Yet, every time the DR DC was taken offline, the behavior returned on a subset of Linux hosts. The only difference we could find between the affected and unaffected hosts was that the affected hosts were not on the same VLAN as the production domain controllers.</p>
<p>I theorized that Windows&#8217; netmask ordering feature, which prioritizes the return of DNS lookups to provide clients with addresses that are &#8220;closer&#8221; to them, was playing a role here. However, the /etc/ldap.conf was using IP addresses, not the domain name or even the fully qualified domain name of a DC. It couldn&#8217;t be DNS, at least not as far as I could tell.</p>
<p>Upon further investigation, the reader discovered that the affected Linux servers&#8212;those that were on a different VLAN than both the production DCs as well as the DR DC&#8212;were maintaining persistent connections to the DR DC. (He found this via netstat.) When the DR DC went offline, the affected Linux hosts tried to continue to communicate to that DC and that DC only. Once the reader was able to get the affected Linux hosts to drop that persistent connection, he was able to take the DR DC offline and the Linux hosts worked as expected.</p>
<p>So, the real question now becomes: <em>how (or why) did the Linux servers connect to the DR DC instead of the production DC for which they were configured?</em> I think that Active Directory issued an LDAP referral to direct the affected Linux servers to the DR DC as a result of site topology. Perhaps due to an incorrect or incomplete site topology configuration, Active Directory believed the DR DC should handle the VLANs where the affected Linux servers resided. If that is indeed the case, the fix would be to make sure that your AD site topology is correct and that subnets are appropriately associated with sites. Of course, this is just a theory.</p>
<p>Has anyone else seen an issue similar to this? What fix were you able to implement in order to correct it?</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/">Linux-AD Integration Issue: Persistent Connections</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/07/10/esx-server-ad-integration/" rel="bookmark" title="Tuesday, July 10, 2007">ESX Server-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/" rel="bookmark" title="Wednesday, January 9, 2008">Local Logins Refused in AD Integration Scenarios</a></li>

<li><a href="http://blog.scottlowe.org/2007/07/09/linux-ad-integration-with-windows-server-2008/" rel="bookmark" title="Monday, July 9, 2007">Linux-AD Integration with Windows Server 2008</a></li>

<li><a href="http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/" rel="bookmark" title="Tuesday, December 19, 2006">Using Samba in Linux-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2007/11/13/performance-in-linux-ad-integration-scenarios/" rel="bookmark" title="Tuesday, November 13, 2007">Performance in Linux-AD Integration Scenarios</a></li>
</ul><!-- Similar Posts took 67.937 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu and Mac OS X Integration</title>
		<link>http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/</link>
		<comments>http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 16:36:06 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Macintosh]]></category>

		<category><![CDATA[Apache]]></category>

		<category><![CDATA[Apple]]></category>

		<category><![CDATA[Music]]></category>

		<category><![CDATA[Samba]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/</guid>
		<description><![CDATA[One of my projects over the Christmas holiday was to upgrade my home network. As part of that project, I took a long look at integration between the Macs on my network and the Ubuntu Linux server that runs the network. Here's some information about that integration.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/">Ubuntu and Mac OS X Integration</a></p>
]]></description>
			<content:encoded><![CDATA[<p>One of my projects over the Christmas holiday has been to rebuild the home network. You&#8217;d think I&#8217;d want to avoid that sort of thing since I&#8217;ve been on vacation from work for the past two weeks, but working on a home network is a different sort of beast than working on a network for a company. There are different challenges to be addressed.</p>
<p>My primary goals for this &#8220;home network rebuild&#8221; were the following:</p>
<ol>
<li>Rebuild the home server with a newer version of Linux, and possibly switch to a different distribution.</li>
<li>Continue to provide DNS, DHCP, HTTP, and HTTP proxying/content filtering services to the home network.</li>
<li>Continue to provide file sharing services via Server Message Block/Common Internet File System (SMB/CIFS) for Windows-based systems on the home network.</li>
<li>Continue to have a shared music library available via Digital Audio Access Protocol (DAAP, aka iTunes) available to all systems on the home network.</li>
<li>Provide file sharing services to Macs on the network via AppleTalk Filing Protocol (AFP) over TCP.</li>
</ol>
<p>Ideally, I also wanted to enable Time Machine backups from my Mac laptop to the home server.</p>
<p>After doing a fair amount of research, I settled on the use of <a href="http://www.ubuntu.com/">Ubuntu</a>&#160;8.04 LTS (&#8221;Hardy Heron&#8221;) for the server build. I didn&#8217;t go with Ubuntu&#160;8.10 (&#8221;Intrepid Ibex&#8221;) simply because a) I already had 8.04.1 downloaded and burned to a CD; and b) Hardy Heron is an LTS release, so I should have better support over the long term.</p>
<p>I won&#8217;t bore readers with the details of the rebuild, but it took about a day or two to get a larger hard drive installed, Ubuntu installed and configured, and services running like DHCP (including some static reservations for certain computers, like my laptop and my iPhone), DNS (using <a href="http://www.maradns.org/">MaraDNS</a>, much easier to figure out than BIND), <a href="http://httpd.apache.org/">Apache</a>, and <a href="http://www.squid-cache.org/">Squid</a> with <a href="http://www.google.com/url?q=http://www.squidguard.org/&amp;sa=X&amp;oi=revisions_result&amp;resnum=1&amp;ct=result&amp;cd=1&amp;usg=AFQjCNH4w9W4Lq6vGuMF80X7BgDwIQq16A">SquidGuard</a>. At this point, I&#8217;d completed tasks #1 and #2.</p>
<p>On to task #3. This was pretty simple and straightforward and easily accomplished via <a href="http://www.samba.org/">Samba</a>, with nothing really unique to document here. The one interesting thing that I did find was a way to map the long usernames that Mac&#160;OS&#160;X uses (like &#8220;Bob Jones&#8221;) to a short username (like &#8220;bjones&#8221;). I used this command in the /etc/samba/smb.conf file:</p>
<p><code>username map = /etc/samba/usermap.conf</code></p>
<p>In this file, I simply placed lines that mapped the long usernames to the short usernames. Since Mac&#160;OS&#160;X defaults to the long username when connecting to the server, this allows me to simply type in a password and connect. I searched for hours trying to find a way to have Mac&#160;OS&#160;X supply my current password to the Samba server so that I wouldn&#8217;t get prompted, but could not find any information. If anyone knows the trick, I&#8217;d love to hear about it. After configuring a few shares, setting Linux permissions and the umask, and then testing from both my Mac laptop and a Windows laptop, task #3 was finished.</p>
<p>Task #4, providing an iTunes-compatible music server, was also really straightforward and easy. For this, I again selected <a href="http://www.fireflymediaserver.org/">Firefly Media Server</a>, formerly mt-daapd, which I&#8217;d used before with great success. Again, nothing unusual or unique to document here, except for the potential interaction with Avahi (more on that later).</p>
<p>The final task was installing <a href="http://netatalk.sourceforge.net/">Netatalk</a> to provide AFP over TCP file sharing services for Macs on the network. Fortunately for me, one of the sites I&#8217;d been using to help in my project pointed me to <a href="http://gpz500.wordpress.com/2008/09/27/lairone-al-servizio-del-leopardo/">this blog post</a>, which had a prebuilt package for Netatalk that included the necessary SSL support that Mac&#160;OS&#160;X requires. That saved me the trouble of compiling Netatalk from source. Following the steps in <a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">the Kremalicious article</a> as well as information from <a href="http://www.zaphu.com/2008/04/29/ubuntu-guide-configure-a-netatalk-file-server-based-on-apple-filing-protocol-afp/">this guide</a>, I configured Netatalk to present a volume to use for Time Machine backups. It was at this point that I noticed a strange interaction with Avahi.</p>
<p><a href="http://www.avahi.org/">Avahi</a> is a multicast DNS (what Apple calls Bonjour) server for Linux. It&#8217;s responsible for advertising services to multicast DNS-enabled systems, such as other Linux systems running Avahi or Macs. I&#8217;d installed Avahi earlier and used some service definitions <a href="http://holyarmy.org/benjamin/2008/01/advertising-linux-services-via-avahibonjour/">from this article</a> and <a href="http://www.zaphu.com/2008/04/29/ubuntu-guide-configure-avahi-to-broadcast-services-via-bonjour-to-mac-os-x/">this blog post</a> to advertise Samba and HTTP. In addition, after installing Firefly, I&#8217;d noticed that Firefly starting advertising its presence automatically through Avahi with no service definition required.</p>
<p>Upon installing Netatalk, I also noticed that Netatalk started advertising automatically via Avahi as well, but using the IP address of the server. In order to be able to control how Netatalk advertises via Avahi, I had to change this line in /etc/avahi/avahi-daemon.conf:</p>
<p><code>enable-dbus=no</code></p>
<p>The suggestion for this change came from <a href="http://ubuntuforums.org/archive/index.php/t-347019.html">this thread on the Ubuntu Forums</a>. Upon making the change and restarting Avahi, the odd Netatalk entry went away, but so did Firefly! To advertise both Netatalk and Firefly, I added a couple of files to /etc/avahi/services:</p>
<p><b>afpd.service:</b></p>
<p><code>&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;<br />
&lt;!DOCTYPE service-group SYSTEM &#8220;avahi-service.dtd&#8221;&gt;<br />
&lt;service-group&gt;<br />
&lt;name replace-wildcards=&#8221;yes&#8221;>Intrepid Time Machine&lt;/name&gt;<br />
&lt;service&gt;<br />
&lt;type>_afpovertcp._tcp&lt;/type&gt;<br />
&lt;port&gt;548&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;service&gt;<br />
&lt;type>_device-info._tcp&lt;/type&gt;<br />
&lt;port>0&lt;/port&gt;<br />
&lt;txt-record&gt;model=AirPort&lt;/txt-record&gt;<br />
&lt;/service&gt;<br />
&lt;/service-group&gt;</code></p>
<p><b>daapd.service:</b></p>
<p><code>&lt;?xml version="1.0" standalone='no'?&gt;&lt;!--*-nxml-*--&gt;<br />
&lt;!DOCTYPE service-group SYSTEM &#8220;avahi-service.dtd&#8221;&gt;<br />
&lt;service-group&gt;<br />
&lt;name replace-wildcards=&#8221;yes&#8221;>Home Music Server&lt;/name&gt;<br />
&lt;service&gt;<br />
&lt;type>_daap._tcp&lt;/type&gt;<br />
&lt;port&gt;3689&lt;/port&gt;<br />
&lt;/service&gt;<br />
&lt;/service-group&gt;</code></p>
<p>After placing these two files into /etc/avahi/services, the new services starting advertising immediately. By the way, you&#8217;ll note the extra &#8220;device-info&#8221; entry in afpd.service; that sets the icon that will be used by Macs when they discover this service. I made mine look like a Time Capsule by using the setting listed above.</p>
<p>During this work with Avahi, I uncovered a couple of interesting things:</p>
<ul>
<li>I found that restarting the Avahi daemon is actually more problematic than just leaving it alone; in order to make it start advertising services again after a restart, you&#8217;ll have to open one of the files in /etc/avahi/services and then close it again. No changes are necessary to the file, but opening it will kickstart Avahi into service advertisement.</li>
<li>Advertising SMB/CIFS and AFP together with the same name caused my Mac to ignore the SMB/CIFS services and only use AFP. I had to separate SMB/CIFS and AFP into different entries. Since I was using AFP really only for Time Machine backups and SMB/CIFS for everything else, it wasn&#8217;t really a big deal.</li>
<li>Advertising SMB/CIFS and RFB (Screen Sharing, as <a href="http://www.zaphu.com/2008/04/29/ubuntu-guide-configure-vinagre-to-share-the-screen-with-mac-os-x/">outlined here</a>) works fine together.</li>
</ul>
<p>At this point, task #5 was pretty much complete. I had originally envisioned providing file sharing services to the same locations via both AFP and SMB/CIFS, but in the end&#8212;partially because of the odd issue with AFP and SMB/CIFS being advertised together as described above&#8212;settled for using AFP only for Time Machine and SMB/CIFS for everything else.</p>
<p>Along the way, I also configured screen sharing <a href="http://www.zaphu.com/2008/04/29/ubuntu-guide-configure-vinagre-to-share-the-screen-with-mac-os-x/">as outlined here</a>, and it seems to work just fine. I have to leave an account logged in to the Ubuntu server, but I can just lock the screen when I&#8217;m not logged in remotely.</p>
<p>The last step was to enable Time Machine backups to the Ubuntu server via AFP. First, the hack to enable non-Time Capsule network backups (this should be all on one line):</p>
<p><code>defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</code></p>
<p>I was then able to select the Ubuntu-hosted AFP volume for Time Machine backups. Attempting to run a Time Machine, backup, however, reported an error about being &#8220;unable to create the disk image&#8221;. Fortunately, a number of different articles pointed to the use of hdiutil to create the disk image, and that seemed to fix the problem. Time Machine is now backing up to the AFP volume, although I suspect I still have a few issues to work through (for example, it looks as though I have to keep the Time Machine AFP volume mounted in order for automatic backups to run).</p>
<p>So, when everything is said and done, I was able to achieve all my stated goals. The only outstanding issue that I haven&#8217;t yet figured out yet centers on automatic logins; for both AFP and SMB/CIFS, I get prompted for a password when connecting, even though I keep my password synchronized (manually) between my Mac and the Ubuntu server. Any tips on how to resolve that would certainly be appreciated.</p>
<p>Along the way, I found the following sites to be quite helpful. I&#8217;m sure there are others that I used along the way, and I apologize if I&#8217;ve failed to extend credit where credit is due.</p>
<p><a href="http://www.macosxhints.com/article.php?story=20080519051720677">Limit size of Time Machine backups on Time Capsule</a><br />
<a href="http://www.macosxhints.com/article.php?story=20080420211034137">Set up Time Machine on a NAS in three easy steps</a><br />
<a href="http://www.kremalicious.com/2008/06/ubuntu-as-mac-file-server-and-time-machine-volume/">Make Ubuntu a Perfect Mac File Server and Time Machine Volume</a><br />
<a href="http://www.zaphu.com/2008/04/30/five-guides-on-how-to-integrate-ubuntu-into-a-mac-os-x-network/">Five Guides on How to Integrate Ubuntu into a Mac OS X Network</a><br />
<a href="http://adamcohenrose.blogspot.com/2008/02/time-machine-wireless-backup-without.html">Time Machine Wireless Backups without Time Capsule</a></p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/">Ubuntu and Mac OS X Integration</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2009/05/23/strange-error-with-firefly-media-server-itunes-and-avahi/" rel="bookmark" title="Saturday, May 23, 2009">Strange Error with Firefly Media Server, iTunes, and Avahi</a></li>

<li><a href="http://blog.scottlowe.org/2009/01/08/my-ubuntu-mac-article-is-popular-i-guess/" rel="bookmark" title="Thursday, January 8, 2009">My Ubuntu-Mac Article is Popular, I Guess</a></li>

<li><a href="http://blog.scottlowe.org/2006/11/21/greater-ad-integration-via-nfs-and-automounts/" rel="bookmark" title="Tuesday, November 21, 2006">Greater AD Integration via NFS and Automounts</a></li>

<li><a href="http://blog.scottlowe.org/2009/12/09/snow-leopard-time-machine-and-iomega-ix4-200d/" rel="bookmark" title="Wednesday, December 9, 2009">Snow Leopard, Time Machine, and Iomega ix4-200d</a></li>

<li><a href="http://blog.scottlowe.org/2008/12/26/openvpn-and-mt-daapd/" rel="bookmark" title="Friday, December 26, 2008">OpenVPN and mt-daapd</a></li>
</ul><!-- Similar Posts took 43.575 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2009/01/02/ubuntu-and-mac-os-x-integration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>No Solaris-AD Integration Update</title>
		<link>http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/</link>
		<comments>http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 17:05:30 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[UNIX]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/</guid>
		<description><![CDATA[I had originally planned on writing an update to my Solaris-AD integration instructions, but it looks like I'm just not going to have enough time to do that. Sorry, folks!<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/">No Solaris-AD Integration Update</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sorry, folks, but I&#8217;m not going to have the time or the resources to publish an update to my <a href="http://blog.scottlowe.org/2007/04/25/solaris-10-ad-integration-version-3/">existing instructions</a> for integrating Solaris&#160;10 into Active Directory. Quite some time ago I had posted that I planned on creating an update to the original instructions so as to incorporate <a href="http://blog.scottlowe.org/2007/11/27/some-notes-on-solaris-ad-integration/">some lessons learned</a>, but it keeps get pushed aside for other tasks that are more important and more relevant to my day-to-day work. Rather than keep readers hanging on for something that will likely never appear, I&#8217;d rather just be upfront and frank about the situation. As much as I&#8217;d love to spend some time working on the Solaris-AD integration situation and documenting my findings, I just don&#8217;t have the time. Sorry.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/">No Solaris-AD Integration Update</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/04/24/solaris-ad-integration-update-coming/" rel="bookmark" title="Tuesday, April 24, 2007">Solaris-AD Integration Update Coming</a></li>

<li><a href="http://blog.scottlowe.org/2007/04/19/samba-in-solaris-ad-integration/" rel="bookmark" title="Thursday, April 19, 2007">Samba in Solaris-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2007/04/25/solaris-10-ad-integration-version-3/" rel="bookmark" title="Wednesday, April 25, 2007">Solaris 10-AD Integration, Version 3</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/03/some-things-im-working-on/" rel="bookmark" title="Thursday, January 3, 2008">Some Things I&#8217;m Working On</a></li>

<li><a href="http://blog.scottlowe.org/2007/07/31/learning-solaris/" rel="bookmark" title="Tuesday, July 31, 2007">Learning Solaris</a></li>
</ul><!-- Similar Posts took 46.034 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/11/19/no-solaris-ad-integration-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenSSH with Kerberos and Active Directory</title>
		<link>http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/</link>
		<comments>http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 03:27:24 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/</guid>
		<description><![CDATA[I ran across <a href="http://port25.technet.com/archive/2008/06/06/technical-analysis-openssh-on-linux-using-windows-kerberos-for-authentication.aspx">this handy white paper</a> about OpenSSH on Linux using Kerberos authentication with Windows and Active Directory. There's not a whole lot in there that isn't also covered in <a href="http://blog.scottlowe.org/2007/01/15/active-directory-integration-index/">my Active Directory integration notes</a>, but it is useful information nevertheless.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/">OpenSSH with Kerberos and Active Directory</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I ran across <a href="http://port25.technet.com/archive/2008/06/06/technical-analysis-openssh-on-linux-using-windows-kerberos-for-authentication.aspx">this handy white paper</a> about OpenSSH on Linux using Kerberos authentication with Windows and Active Directory. There&#8217;s not a whole lot in there that isn&#8217;t also covered in <a href="http://blog.scottlowe.org/2007/01/15/active-directory-integration-index/">my Active Directory integration notes</a>, but it is useful information nevertheless.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/">OpenSSH with Kerberos and Active Directory</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/04/25/sshjail-in-centralized-environments/" rel="bookmark" title="Wednesday, April 25, 2007">SSHjail in Centralized Environments</a></li>

<li><a href="http://blog.scottlowe.org/2007/07/09/samba-and-windows-server-2008-interoperability/" rel="bookmark" title="Monday, July 9, 2007">Samba and Windows Server 2008 Interoperability</a></li>

<li><a href="http://blog.scottlowe.org/2006/05/01/esx-server-integration-with-active-directory/" rel="bookmark" title="Monday, May 1, 2006">ESX Server Integration with Active Directory</a></li>

<li><a href="http://blog.scottlowe.org/2005/07/09/new-book-on-linux-windows-integration/" rel="bookmark" title="Saturday, July 9, 2005">New Book on Linux-Windows Integration</a></li>

<li><a href="http://blog.scottlowe.org/2007/11/27/some-notes-on-solaris-ad-integration/" rel="bookmark" title="Tuesday, November 27, 2007">Some Notes on Solaris-AD Integration</a></li>
</ul><!-- Similar Posts took 17.606 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/07/26/openssh-with-kerberos-and-active-directory/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Finding UNIX-Enabled Accounts in Active Directory MMC</title>
		<link>http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/</link>
		<comments>http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 15:05:17 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/</guid>
		<description><![CDATA[Want to create a Saved Query in Active Directory Users &#38; Computers to show you UNIX-enabled accounts? Here's one query you could use.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/">Finding UNIX-Enabled Accounts in Active Directory MMC</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In UNIX/Linux integration scenarios, it&#8217;s useful to know which accounts have been UNIX-enabled, i.e., have had the UID number, NIS domain, login shell, and home directory attributes configured.</p>
<p>It&#8217;s certainly very possible to do this with command-line tools such as AdFind or DsQuery, but users may also find it useful to have a saved query available within the Active Directory Users &amp; Computers console for easy reference.</p>
<p>The way to do this is define a custom query using this string:</p>
<p><code><small>(objectCategory=Person)(objectClass=User)(uidNumber=*)</small></code></p>
<p>If you add <em>just this text</em> and nothing else in the &#8220;Find Custom Search&#8221; dialog box (the Advanced tab), then the console will automatically add ampersands and additional parentheses to turn it into a &#8220;proper&#8221; LDAP query that will show you any account that has a UID number configured. Certainly, additional fields like loginShell or unixHomeDirectory could be added as well, but this query will probably be sufficient for most instances.</p>
<p>I started not to publish this, but figured if I couldn&#8217;t remember the exact syntax then someone else might not be able to remember the syntax either. This one is as much for me as it is for others.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/">Finding UNIX-Enabled Accounts in Active Directory MMC</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2006/10/11/finding-recently-created-active-directory-accounts/" rel="bookmark" title="Wednesday, October 11, 2006">Finding Recently Created Active Directory Accounts</a></li>

<li><a href="http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/" rel="bookmark" title="Friday, April 11, 2008">AD Integration Tip: Dealing With More Than 1,000 Users</a></li>

<li><a href="http://blog.scottlowe.org/2006/08/01/complex-queries-against-active-directory/" rel="bookmark" title="Tuesday, August 1, 2006">Complex Queries Against Active Directory</a></li>

<li><a href="http://blog.scottlowe.org/2006/08/17/finding-duplicate-names-in-active-directory/" rel="bookmark" title="Thursday, August 17, 2006">Finding Duplicate Names in Active Directory</a></li>

<li><a href="http://blog.scottlowe.org/2006/05/19/semi-automatic-security-groups/" rel="bookmark" title="Friday, May 19, 2006">Semi-Automatic Security Groups</a></li>
</ul><!-- Similar Posts took 13.492 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/06/18/finding-unix-enabled-accounts-in-active-directory-mmc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AD Integration Tip: Dealing With More Than 1,000 Users</title>
		<link>http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/</link>
		<comments>http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 16:43:11 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/</guid>
		<description><![CDATA[For Active Directory integration scenarios involving more than 1,000 users, here's information on a Registry change that might be beneficial.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/">AD Integration Tip: Dealing With More Than 1,000 Users</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Reader Scott Merrill pointed out something to me in an e-mail regarding a Registry change that might be necessary in some Active Directory integration scenarios:</p>
<blockquote><p>Finally, I would like to share one registry change that we&#8217;ve found to be necessary in our AD integration.  By default, the MS LDAP server only returns 1,000 results.  As a university department with more than 1000 active students, this limitation has caused us some frustration.</p>
<p>This KB article shows how to increase the number of results returned in a query: <a href="http://support.microsoft.com/kb/315071">http://support.microsoft.com/kb/315071</a></p>
<p>We recently set MaxPageSize to 5,000.  I don&#8217;t know if this will<br />
introduce additional problems down the road, but at least it lets me fully enumerate all our AD users from a Linux machine with `getent passwd`.</p></blockquote>
<p>If you have an Active Directory domain with more than 1,000 users in the DN specified in your LDAP configuration, then this is a Registry change you&#8217;ll want to investigate. Otherwise, you could find that your UNIX/Linux servers aren&#8217;t able to fully enumerate all the users in the domain.</p>
<p>Thanks, Scott!</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/">AD Integration Tip: Dealing With More Than 1,000 Users</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/" rel="bookmark" title="Tuesday, December 19, 2006">Using Samba in Linux-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/" rel="bookmark" title="Wednesday, January 9, 2008">Local Logins Refused in AD Integration Scenarios</a></li>

<li><a href="http://blog.scottlowe.org/2007/09/17/one-potential-issue-in-ad-integration-scenarios/" rel="bookmark" title="Monday, September 17, 2007">One Potential Issue in AD Integration Scenarios</a></li>

<li><a href="http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/" rel="bookmark" title="Thursday, April 2, 2009">Linux-AD Integration Issue: Persistent Connections</a></li>

<li><a href="http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/" rel="bookmark" title="Monday, March 17, 2008">LDAP Signing in AD Integration Situations</a></li>
</ul><!-- Similar Posts took 6.043 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/04/11/ad-integration-tip-dealing-with-more-than-1000-users/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Old NetWare Integration Notes</title>
		<link>http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/</link>
		<comments>http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 00:30:14 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Novell]]></category>

		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/</guid>
		<description><![CDATA[Just in case someone out there might need some old and outdated information on Novell NetWare 6.5, here's some.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/">Old NetWare Integration Notes</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m posting this stuff here on the off chance that it someday might be useful to someone out there somewhere. About four years ago, I had a wild hunch to start learning Novell NetWare&#160;6.5, and to perform some integration testing with some other technologies with which I was already familiar. Along the way, I gathered these notes. I make no warranties about the accuracy, validity, or relevance of this information; I&#8217;m just publishing it here in case it may prove useful later. (You never know.)</p>
<p>So, that being said, here are the notes:</p>
<ul>
<li><em>SSH â€œshellâ€ access to NetWare 6.5 server:</em> The SSHD NetWare Loadable Module (NLM) had to be loaded first. Attempts to login failed; the sshd_config file had to be edited and a Novell-specific directive (eDirNameContext) had to be modified in order to add the context where the admin account was stored (in this case, OU=Users.O=Company). After the configuration file was modified and the SSHD NLM unloaded and loaded again (to reflect the changes to the configuration file), logins via SSH were successful. (Note:  It appears that NetWare&#160;6.5 does not support the Blowfish-CBC cipher.)</li>
<li><em>SFTP access to NetWare 6.5 server:</em> After successful SSH â€œshellâ€ access (see previous bullet point), SFTP access also worked correctly. Tests using Fugu (a native Mac&#160;OS&#160;X SFTP application) were successful and without any major events or problems. In fact, SFTP was used to transfer the files necessary for the VNC testing (see next bullet point) to the NetWare server.</li>
<li><em>VNC access to NetWare 6.5 console:</em> Using SFTP, a VNC server NLM was copied to the server. After setting the VNC password (using VNCPASS.NLM) and loading the VNC server (VNCSRV.NLM), access to the NetWare serverâ€™s GUI via VNC was successful. The VNC client used was Chicken of the VNC, a freeware Mac&#160;OS&#160;X VNC client. Performance was on par for LAN access to a server.</li>
<li><em>Native file access from Mac&#160;OS&#160;X:</em> As indicated in several online sources, the AFPTCP NLM had to be unloaded and then reloaded with the CLEARTEXT option. Then the SYS volume on the server could be mounted using the Go To Server command. After an initial login, the AFPTCP NLM was unloaded and reloaded without the CLEARTEXT option, and everything continued to work just fine.</li>
<li><em>Rconsole access from Mac&#160;OS&#160;X:</em> Using RconJ, a Java-based port of Rconsole to Mac&#160;OS&#160;X, Rconsole access was successful. The RCONAG6 NLM had to be loaded first on the server in order for this to work.</li>
<li><em>VNC inside SSH tunnel:</em> Creating SSH tunnels (using the â€“L switch) works in NetWare 6.5 just as it does with Linux or OpenBSD. Using the VNC NLM discussed earlier and an SSH tunnel, the VNC traffic was secured and encrypted across the wire. This worked exactly as expected.</li>
<li><em>Native file access from Windows XP:</em> Initial attempts to access the server from a Windows XP system failed (authentication problems).  The NDS user object had been created in iManager and a simple password had also been created in iManager as well (necessary before CIFS will work).  However, the cifsctxs.cfg file (that specifies contexts) had not been updated with the correct context (OU=Users.O=Company, which is where all user objects are stored). After modifying this file and reloading CIFS, then access from Windows XP still failed (network path not found). Further tests showed that typing the UNC path from the Run command on the Start menu failed, but browsing through My Network Places or typing the UNC path including a share name worked just fine.</li>
<li><em>NTP on NetWare 6.5:</em> XNTPD.NLM is an NTP daemon for NetWare, similar in implementation and purpose as NTP on Linux or OpenBSD. Upon editing the NTP.CONF file in SYS:\ETC, XNTPD could be loaded only after TIMESYNC.NLM was unloaded. Even then, XNTPD seemed to unload occasionally and without reason, and the NTPDATE utility had to be used to manually synchronize the time.</li>
<li><em>Autoloading specific NLMs on startup:</em> Upon reboot, the VNC, SSH, and Rconsole NLMs werenâ€™t loaded, and so the server was inaccessible except from the console. Using the â€œrconag6 encryptâ€ command, a LDRCONAG.NCF file was created with an encrypted Rconsole password. Then, AUTOEXEC.NCF was edited to reference this file (in order to load the Rconsole agent) as well as the SSH and VNC NLMs. This would ensure that the necessary NLMs were loaded every time the server booted.</li>
<li><em>Universal passwords:</em> After some difficulty mounting a volume from Mac&#160;OS&#160;X, setting passwords, and such, the server was rebooted and Universal Passwords were enabled for the Users.Company container. The passwords were then set for various accounts. Following that, native file access from both Mac&#160;OS&#160;X and Windows XP (with one caveat; see below) worked flawlessly. The caveat for Windows XP native file access is that browsing shares using just the server name in the UNC path does not work; at least one share name must also be included (i.e., \vsninteg does not work, but \vsninteg\sys works just fine). SSH access worked fine after enabling universal passwords. SFTP access worked fine as well, as long as the user logging in had sufficient permissions.</li>
</ul>
<p>OK, there you go. Here&#8217;s hoping it may prove useful to someone. Feel free to correct me, clarify these notes, or just tell me I&#8217;m crazy in the comments below.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/">Old NetWare Integration Notes</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2005/07/08/access-based-enumeration/" rel="bookmark" title="Friday, July 8, 2005">Access-Based Enumeration</a></li>

<li><a href="http://blog.scottlowe.org/2007/10/23/using-scponly-on-esx-server/" rel="bookmark" title="Tuesday, October 23, 2007">Using scponly on ESX Server</a></li>

<li><a href="http://blog.scottlowe.org/2006/12/12/vm-portability-round-3/" rel="bookmark" title="Tuesday, December 12, 2006">VM Portability, Round 3</a></li>

<li><a href="http://blog.scottlowe.org/2007/07/12/hanging-around-vmware/" rel="bookmark" title="Thursday, July 12, 2007">Hanging Around #vmware</a></li>

<li><a href="http://blog.scottlowe.org/2006/11/29/solaris-10-x86-on-mac-os-x/" rel="bookmark" title="Wednesday, November 29, 2006">Solaris 10 x86 on Mac OS X</a></li>
</ul><!-- Similar Posts took 18.546 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/03/17/old-netware-integration-notes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LDAP Signing in AD Integration Situations</title>
		<link>http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/</link>
		<comments>http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 17:06:26 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[LDAP]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/</guid>
		<description><![CDATA[I recently traded a series of e-mails with a reader who was having problems with his Active Directory integration project. In the end, the reader solved the problem himself, but I wanted to share the final resolution to the problem.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/">LDAP Signing in AD Integration Situations</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Reader Jeffrey Spear contacted me a while back with some problems he was experiencing in trying to integrate some Linux systems into Active Directory. Basically, Kerberos was working but LDAP wasn&#8217;t. He was able to use &#8220;kinit &lt;AD username&gt;&#8221; to generate a Kerberos ticket, but using the &#8220;getent passwd &lt;AD username&gt;&#8221; was not working. No error messages, nothing; it just didn&#8217;t work.</p>
<p>We traded e-mails back and forth for a while, and eventually he found the solution himself:</p>
<blockquote><p>We work with a locked down version of OSs and in this case a domain policy on the Windows server was preventing the RHEL machines from accessing account info. Â The policy was &#8220;Domain controller: LDAP server signing requirements&#8221; which was set to &#8220;Require signature.&#8221; Â When I changed this setting to &#8220;None&#8221; it worked great.</p></blockquote>
<p>This is good information and important to keep in mind; I&#8217;ll be sure to incorporate this into the next revision of the Linux-AD integration instructions. (No, I don&#8217;t have a timeframe on when that will be!)</p>
<p>In the meantime, if anyone has a workaround for this problem that will allow LDAP to work with signatures enabled or required, I&#8217;d love to hear it. Speak up in the comments below!</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/">LDAP Signing in AD Integration Situations</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2006/12/19/using-samba-in-linux-ad-integration/" rel="bookmark" title="Tuesday, December 19, 2006">Using Samba in Linux-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2007/12/04/centos-5-active-directory-integration-problem/" rel="bookmark" title="Tuesday, December 4, 2007">CentOS 5 Active Directory Integration Problem</a></li>

<li><a href="http://blog.scottlowe.org/2006/08/11/a-couple-cool-mac-discoveries/" rel="bookmark" title="Friday, August 11, 2006">A Couple Cool Mac Discoveries</a></li>

<li><a href="http://blog.scottlowe.org/2005/07/24/next-integration-tasks/" rel="bookmark" title="Sunday, July 24, 2005">Next Integration Task(s)</a></li>

<li><a href="http://blog.scottlowe.org/2006/08/21/native-kerberos-authentication-with-ssh/" rel="bookmark" title="Monday, August 21, 2006">Native Kerberos Authentication with SSH</a></li>
</ul><!-- Similar Posts took 17.891 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/03/17/ldap-signing-in-ad-integration-situations/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Local Logins Refused in AD Integration Scenarios</title>
		<link>http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/</link>
		<comments>http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 03:46:08 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Virtualization]]></category>

		<category><![CDATA[ActiveDirectory]]></category>

		<category><![CDATA[ESX]]></category>

		<category><![CDATA[Kerberos]]></category>

		<category><![CDATA[LDAP]]></category>

		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/</guid>
		<description><![CDATA[An issue arose with a customer in which local logins were being refused when network connectivity was unavailable. Although this problem initially manifested itself with VMware ESX Server, the issue&#8212;and the fix&#8212;are applicable to a number of UNIX/Linux systems.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/">Local Logins Refused in AD Integration Scenarios</a></p>
]]></description>
			<content:encoded><![CDATA[<p>A customer with whom I had worked to fully integrate their ESX Server systems into Active Directory&#8212;using <a href="http://blog.scottlowe.org/2007/07/10/esx-server-ad-integration/">my instructions here</a>&#8212;had run into a problem. The problem was that local logins were refused when the Service Console lost network connectivity. Clearly, this was a problem; if the customer couldn&#8217;t login as root when the network is down, even locally at the console, then we have problems. So I set out today to isolate and fix the problem.</p>
<p>After much trial and error, I had determined what was <em>not</em> the cause the problem:</p>
<ul>
<li>The /etc/pam.d/system-auth file was not at fault; we tried numerous combinations in system-auth and there was no difference in behavior</li>
<li>The /etc/ldap.conf file was not at fault; we even tried adding a few additional entries (like &#8220;bind_policy soft&#8221;) to help with issues when LDAP was down and not responding</li>
<li>A lack of DNS resolution was not the problem; the behavior was the same whether DNS was working or not</li>
</ul>
<p>Finally, I was able to track down <a href="http://osdir.com/ml/ldap.padl.nss/2006-09/msg00012.html">this thread</a> which discusses the behavior of the nss_ldap libraries when the LDAP service is not available across the network. In <a href="http://osdir.com/ml/ldap.padl.nss/2006-09/msg00014.html">this specific message</a> in the thread, it is noted that nss_ldap will try to contact LDAP to enumerate group membership, <em>even if LDAP is down.</em> So the problem was with using LDAP for group membership, and a quick edit to /etc/nsswitch.conf to remove LDAP from the group line proved that to be true.</p>
<p>As shown in the message, the only workarounds are:</p>
<ul>
<li>Upgrade to v245 of nss_ldap, which allows the use of the &#8220;nss_initgroups_ignoreusers&#8221; directive; this instructs nss_ldap to <em>not</em> perform group enumeration for the specified users; or</li>
<li>Remove the “ldap” entry from the group line in /etc/nsswitch.conf.</li>
</ul>
<p>Unfortunately, ESX Server 3.0.2 and ESX Server 3.5.0 only supply nss_ldap v207-17, which is too early to support that directive. Of course, we can&#8217;t really upgrade the library, either, since that&#8217;s not supported by VMware. So the only real fix for VMware ESX Server AD integration scenarios is to not use Active Directory for group memberships. User accounts can still be managed using Active Directory&#8212;and authentication occurs against Active Directory&#8212;but groups and group membership will have to be handled locally.</p>
<p>This issue is applicable to other operating systems besides ESX Server, though, and for those operating systems an upgrade of the nss_ldap library and the use of the &#8220;nss_initgroups_ignoreuser&#8221; directive in ldap.conf may be all that is needed to fix an issue with local logins being refused when network connectivity is not present.</p>
<p><b>UPDATE:</b> It appears that local logins will work without network connectivity, even with full Active Directory integration, if you use the Emergency Console. Thanks to Magnus for the update!</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/">Local Logins Refused in AD Integration Scenarios</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/07/10/esx-server-ad-integration/" rel="bookmark" title="Tuesday, July 10, 2007">ESX Server-AD Integration</a></li>

<li><a href="http://blog.scottlowe.org/2007/09/17/one-potential-issue-in-ad-integration-scenarios/" rel="bookmark" title="Monday, September 17, 2007">One Potential Issue in AD Integration Scenarios</a></li>

<li><a href="http://blog.scottlowe.org/2006/06/22/enumerating-universal-group-membership/" rel="bookmark" title="Thursday, June 22, 2006">Enumerating Universal Group Membership</a></li>

<li><a href="http://blog.scottlowe.org/2008/01/03/some-things-im-working-on/" rel="bookmark" title="Thursday, January 3, 2008">Some Things I&#8217;m Working On</a></li>

<li><a href="http://blog.scottlowe.org/2009/04/02/linux-ad-integration-issue-persistent-connections/" rel="bookmark" title="Thursday, April 2, 2009">Linux-AD Integration Issue: Persistent Connections</a></li>
</ul><!-- Similar Posts took 29.421 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/01/09/local-logins-refused-in-ad-integration-scenarios/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LACP with Cisco Switches and NetApp VIFs</title>
		<link>http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/</link>
		<comments>http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 03:19:43 +0000</pubDate>
		<dc:creator>slowe</dc:creator>
		
		<category><![CDATA[Interoperability]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Cisco]]></category>

		<category><![CDATA[IOS]]></category>

		<category><![CDATA[NetApp]]></category>

		<category><![CDATA[ONTAP]]></category>

		<guid isPermaLink="false">http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/</guid>
		<description><![CDATA[Last summer I wrote an article about <a href="http://blog.scottlowe.org/2007/06/13/cisco-link-aggregation-and-netapp-vifs/">Cisco link aggregation and NetApp VIFs</a> which discussed configuring multi-mode VIFs with Cisco switches. Since that time, I've been contacted by a NetApp SE about Data ONTAP's Link Aggregation Control Protocol (LACP) support.<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/">LACP with Cisco Switches and NetApp VIFs</a></p>
]]></description>
			<content:encoded><![CDATA[<p>In my previous article about using <a href="http://blog.scottlowe.org/2007/06/13/cisco-link-aggregation-and-netapp-vifs/">NetApp multi-mode VIFs with Cisco switches</a>, I mentioned that you could&#8212;at that time&#8212;only use 802.3ad static link aggregation:</p>
<blockquote><p>Be aware that Data ONTAP&#8217;s multi-mode VIFs are only compatible with static 802.3ad link aggregation; you can&#8217;t use PAgP (Cisco proprietary protocol). I would assume dynamic LACP is also incompatible. For this reason we used the &#8220;channel-group 1 mode on&#8221; statement instead of something like &#8220;channel-group 1 mode desirable&#8221;.</p></blockquote>
<p>I recently got some feedback from a NetApp SE in my area; this SE informed me that Link Aggregation Control Protocol (LACP, part of the IEEE 802.3ad specification) is indeed supported with Data ONTAP version&#160;7.2. This <a href="https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb20148">KB article</a> on the NetApp NOW site (login required) indicates that ONTAP 7.2.1 is required in order to use a LACP VIF.</p>
<p>There are a couple important requirements to note; these are laid out in the referenced KB article:</p>
<ol>
<li>Dynamic multimode VIFs should use IP address-based load balancing. This means that the Cisco switch or the channel group must also use IP address-based load balancing.</li>
<li>Dynamic multimode VIFs must be first-level VIFs. This makes sense; LACP is a Layer 2 protocol, so layering a LACP VIF on top of other VIFs just doesn&#8217;t work.</li>
</ol>
<p>To create the dynamic multimode VIF on the Data ONTAP side, the command is pretty simple:</p>
<p><code>vif create lacp &lt;vif name&gt; -b ip {interface list}</code></p>
<p>On the Cisco side, the commands are very similar:</p>
<p><code>s3(config)#int port-channel1<br />
s3(config-if)#description LACP multimode VIF for netapp1<br />
s3(config-if)#int gi0/23<br />
s3(config-if)#channel-protocol lacp<br />
s3(config-if)#channel-group 1 mode active</code></p>
<p>These commands would be repeated for all physical ports that should be included in the LACP bundle. Note the differences from the earlier commands in the previous article; here we use &#8220;channel-group 1 mode <em>active</em>&#8221; instead of &#8220;channel-group 1 mode <em>on</em>&#8220;. We also added the &#8220;channel-protocol lacp&#8221; command.</p>
<p>Together, these commands will establish a LACP-based link aggregate between a NetApp storage system running Data ONTAP version&#160;7.2.1 or higher and a Cisco IOS-based switch.</p>
<p>Thanks to Jeff, our NetApp SE, for providing the updated information.</p>
<p>This article was originally posted on <a href="http://blog.scottlowe.org">blog.scottlowe.org</a>. Visit the site for more information on virtualization, servers, storage, and other enterprise technologies.<br/><br/><a href="http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/">LACP with Cisco Switches and NetApp VIFs</a></p>
Similar Posts:<ul><li><a href="http://blog.scottlowe.org/2007/06/13/cisco-link-aggregation-and-netapp-vifs/" rel="bookmark" title="Wednesday, June 13, 2007">Cisco Link Aggregation and NetApp VIFs</a></li>

<li><a href="http://blog.scottlowe.org/2009/02/02/netapp-vif-member-limitations/" rel="bookmark" title="Monday, February 2, 2009">NetApp VIF Member Limitations</a></li>

<li><a href="http://blog.scottlowe.org/2008/10/08/more-on-vmware-esx-nic-utilization/" rel="bookmark" title="Wednesday, October 8, 2008">More on VMware ESX NIC Utilization</a></li>

<li><a href="http://blog.scottlowe.org/2009/08/27/connecting-nexus-5000-to-older-gigabit-ethernet-switches/" rel="bookmark" title="Thursday, August 27, 2009">Connecting Nexus 5000 to Older Gigabit Ethernet Switches</a></li>

<li><a href="http://blog.scottlowe.org/2006/12/04/esx-server-nic-teaming-and-vlan-trunking/" rel="bookmark" title="Monday, December 4, 2006">ESX Server, NIC Teaming, and VLAN Trunking</a></li>
</ul><!-- Similar Posts took 19.899 ms -->]]></content:encoded>
			<wfw:commentRss>http://blog.scottlowe.org/2008/01/08/lacp-with-cisco-switches-and-netapp-vifs/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
