<?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>Malaysia VMware Communities &#187; AD</title>
	<atom:link href="http://malaysiavm.com/blog/tag/ad/feed/" rel="self" type="application/rss+xml" />
	<link>http://malaysiavm.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 21 Nov 2011 15:50:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Microsoft 2008 Cluster Bugs</title>
		<link>http://malaysiavm.com/blog/microsoft-2008-cluster-bugs/</link>
		<comments>http://malaysiavm.com/blog/microsoft-2008-cluster-bugs/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 15:33:38 +0000</pubDate>
		<dc:creator>craig</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 2008]]></category>

		<guid isPermaLink="false">http://malaysiavm.com/blog/?p=2377</guid>
		<description><![CDATA[Went through a marathon troubleshooting with my client for the past 1 week to figure out the reason why a cluster failed in place and it could not easily rebuild back after 1 of the node evicted. We had gone through the process to re image both nodes and rebuild from scratch. Follow exactly the [...]]]></description>
			<content:encoded><![CDATA[<p>Went through a marathon troubleshooting with my client for the past 1 week to figure out the reason why a cluster failed in place and it could not easily rebuild back after 1 of the node evicted. We had gone through the process to re image both nodes and rebuild from scratch. Follow exactly the best practices and run through the cluster validation without any error. While we try to form the cluster, the system keep provide an unknown error which do not share much information from log. It just keep telling you that the node is not reachable or unauthorized due to security setting.</p>
<p>After few nights of troubleshooting, I was running out of clue. Came to the sudden, I accidentally search the computer name in AD under the category of Users object group, and I found an user account been created in AD with the same name as we define on the cluster name. I was wondering whether this could caused the confuse to the system. Therefore, I was suggesting to remove the user name temporally as it was not use at the moment and tried to reform the cluster. Guess what, the cluster form up as it needed to be in less than 1 minutes. We were so happy to end the marathon troubleshooting every night well and we were also very pissed off with the bugs we face here.</p>
<p><span id="more-2377"></span>I am not very sure what is the real reason behind can really cause this, but this is the real case which take us few days to figure out. I think Microsoft should seriously look into this problem as it sound stupid to have this bugs in place today. User name and computer object name are always not the same thing in AD, how can the system confuse with it?If this is unavoidable, they should put in to the documentation or check list to remind the users on this. My personal comment on Windows 2008 Cluster technology, it does not make the administrator life simple, and it added too much dependency for the Microsoft AD. Please take note that this problem happen to both windows 2008 and windows 2008 R2.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://malaysiavm.com/blog/microsoft-2008-cluster-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMware ESX 3.5 Authentication Login Using Active Directory</title>
		<link>http://malaysiavm.com/blog/vmware-esx-35-authentication-login-using-active-directory/</link>
		<comments>http://malaysiavm.com/blog/vmware-esx-35-authentication-login-using-active-directory/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 03:53:00 +0000</pubDate>
		<dc:creator>jlchannel</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://malaysiavm.com/blog/?p=157</guid>
		<description><![CDATA[If you look for VMware authentication login using Microsoft Active Directory, I&#8217;m sure you can easily found on any seach enginer but most of the documents slightly outdated which is based on VMware ESX 2.x. The following article try to give better understanding about latest VMware ESX 3.5 authentication login using AD. Use esxcfg-auth command [...]]]></description>
			<content:encoded><![CDATA[<p>If you look for <a href="http://malaysiavm.com/blog/tag/vmware">VMware</a> authentication login using <a href="http://malaysiavm.com/blog/tag/microsoft">Microsoft</a> Active Directory, I&#8217;m sure you can easily found on any seach enginer but most of the documents slightly outdated which is based on <a href="http://malaysiavm.com/blog/tag/vmware">VMware</a> ESX 2.x.</p>
<p>The following article try to give better understanding about latest <a href="http://malaysiavm.com/blog/tag/vmware">VMware</a> ESX 3.5 authentication login using AD.</p>
<p>Use <strong>esxcfg-auth</strong> command &#8211; <a href="http://malaysiavm.com/blog/tag/vmware">VMware</a> ESX Server Network Management Utility</p>
<p>Login to VMware <a href="http://malaysiavm.com/blog/tag/esx">ESX</a> host using SSH as root</p>
<p>Ping <em>ad.malaysiavm.com</em> to make sure you can reach AD server.</p>
<p>The <strong>esxcfg‐auth</strong> command includes options for configuring interoperability with several authentication providers. This note focuses on the options that are relevant to Active Directory:<br />
esxcfg‐auth [ [ ‐‐enablead | ‐‐disablead ] [ ‐‐addomain= ] [‐‐addc= ]</p>
<p>Type <em>man esxcfg-auth</em> for more information.</p>
<p>&#8211;disableab<br />
Reverts the changes required to authenticate the user against Active Directory.</p>
<p>&#8211;enablead<br />
Sets up the Console OS to authenticate the user against an Active Directory server. addomain and addc are required with this option.</p>
<p>&#8211;addomain<br />
Sets the domain against which the user is to be authenticated when authenticating against an Active Directory server.</p>
<p>&#8211;addc<br />
Sets the domain controller against which the user&#8217;s password should be checked.</p>
<p><textarea cols="50" rows="1"># esxcfg-auth &#8211;enablead &#8211;addomain=AD.MALAYSIAVM.COM &#8211;addc=dc01.ad.malaysiavm.com</textarea></p>
<p>This enables <a href="http://malaysiavm.com/blog/tag/ad">Active Directory</a> based user authentication in the ad.malaysiavm.com domain<br />
with the domain controller dc01.ad.malaysiavm.com.</p>
<p>Basically the system will generate <strong>/etc/krb5.conf</strong> file as example below:</p>
<p><span id="more-157"></span></p>
<p>[domain_realm]<br />
ad.malaysiavm.com = AD.MALAYSIAVM.COM<br />
.ad.malaysiavm.com = AD.MALAYSIAVM.COM</p>
<p>[libdefaults]<br />
default_realm = AD.MALAYSIAVM.COM</p>
<p>[realms]<br />
AD.MALAYSIAVM.COM = {<br />
admin_server = dc01.ad.malaysiavm.com:464<br />
default_domain = AD.MALAYSIAVM.COM<br />
kdc = dc01.ad.malaysiavm.com:88</p>
<p>Basically the different between ESX 2.x and 3.x is in PAM configuration, make sure you have correct <a href="http://malaysiavm.com/blog/tag/pam">PAM</a> configuration as example below:</p>
<p><strong>/etc/pam.d/vmware-authd</strong><br />
auth       required     pam_stack.so service=system-auth<br />
account    required     pam_stack.so service=system-auth</p>
<p><strong>/etc/pam.d/system-auth</strong><br />
account         sufficient      /lib/security/$ISA/pam_krb5.so<br />
account         required        /lib/security/$ISA/pam_unix.so</p>
<p>auth            required        /lib/security/$ISA/pam_env.so<br />
auth            sufficient      /lib/security/$ISA/pam_unix.so              likeauth nullok<br />
auth            sufficient      /lib/security/$ISA/pam_krb5.so              use_first_pass<br />
auth            required        /lib/security/$ISA/pam_deny.so</p>
<p>password        required        /lib/security/$ISA/pam_cracklib.so          retry=3<br />
password        sufficient      /lib/security/$ISA/pam_unix.so              nullok use_authtok md5 shadow<br />
password        sufficient      /lib/security/$ISA/pam_krb5.so              use_authtok<br />
password        required        /lib/security/$ISA/pam_deny.so</p>
<p>session         required        /lib/security/$ISA/pam_limits.so<br />
session         required        /lib/security/$ISA/pam_unix.so<br />
session         sufficient      /lib/security/$ISA/pam_krb5.so</p>
<p>According to previous article from <a href="http://www.vmware.com/pdf/esx_authentication_AD.pdf">VMware</a>, you&#8217;re require /var/kerberos/krb5kdc/kdc.conf which it&#8217;s worked without this file on <a href="http://www.malaysiavm.com/blog/tag/vmware">VMware</a> ESX 3.5 update 2.</p>
<p>Create a user on the <a href="http://www.malaysiavm.com/blog/tag/vmware">VMware</a> ESX Server system with permissions to use the service console or SSH. To create a user, use the <a href="http://www.malaysiavm.com/blog/tag/linux">Linux</a> command <em>useradd</em>.</p>
<p><textarea cols="50" rows="1"># /usr/sbin/useradd user1</textarea></p>
<p>Note: please make sure you have user1 in your <a href="http://malaysiavm.com/blog/tag/ad">AD</a> or create any other AD account.</p>
<p>Open a new <a href="http://malaysiavm.com/blog/tag/ssh">SSH</a> session(I used putty) and login with username: user1 and AD password. If you have any problem with AD authentication logon, please refer to <em>/var/log/message</em>.</p>
<p>In case you need to access to <a href="http://malaysiavm.com/blog/tag/vmware">VMware</a> ESX host directly, you&#8217;re require to define user test1 in permission tab under VI.</p>
<p><img src="http://malaysiavm.com/images/vi_permission.png" alt="VMware VI" /></p>
<p>Done! Congratulation! You should be able to login to ESX server using Active Directory authentication.</p>
<p>Related Post:</p>
<ul>
<li><a href="http://www.planetmy.com/blog/how-to-authenticate-to-active-directory-on-suse-linux-9/">SLES 9 Authentication Login Using Active Directory</a></li>
<li><a href="http://www.planetmy.com/blog/using-active-directory-for-suse-linux-10-authentication/">SLES 10 Authentication Login Using Active Directory</a></li>
<li><a href="http://blog.scottlowe.org/2006/05/01/esx-server-integration-with-active-directory/" target="_blank">ESX Server Integration with Active Directory</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://malaysiavm.com/blog/vmware-esx-35-authentication-login-using-active-directory/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.465 seconds -->

