<?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>Kraft Kennedy &#124; Technology Blog &#187; Active Directory</title>
	<atom:link href="http://blogs.kraftkennedy.com/index.php/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.kraftkennedy.com</link>
	<description>Trends and insight into legal technology, infrastructure and strategic thinking.</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:24:52 +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>Audience Targeting in Windows SharePoint Services 3.0, based on AD Groups</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 19:07:34 +0000</pubDate>
		<dc:creator>Michael Fettner</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Enterprise Content Management]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Directory Servicces]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-windows-sharepoint-services-3-0-based-on-ad-groups/</guid>
		<description><![CDATA[WSS does not have a user profile service and does not allow any kind of native targeting of content to users in different groups. This is one of the more serious limitations of WSS, especially for corporate intranets, where pages might need to be customized for users in different offices. MOSS, on the other hand, [...]]]></description>
			<content:encoded><![CDATA[<p>WSS does not have a user profile service and does not allow any kind of native targeting of content to users in different groups. This is one of the more serious limitations of WSS, especially for corporate intranets, where pages might need to be customized for users in different offices. MOSS, on the other hand, allows for the creation of audiences and easy targeting of content. As is typically the case with WSS, it is possible to achieve this functionality by writing code.</p>
<p>One way to do this is by adding a reference in your code to &#8220;System.DirectoryServices,&#8221; which allows you to query Active Directory. With that class, you can compare the current user to an Active Directory group&#8217;s membership collection, and add logic based on whether or not the user is in the group. If you plan to edit an aspx page directly, you will also have to add a page parser path in web.config, so that the code in the page will run. Rather than editing the page directly, it is often preferable to create a control or web part for security and manageability reasons.</p>
<p>If editing an aspg page directly in SharePoint Designer, just add the following line to the top of the page, so that the correct assembly is referenced.</p>
<p><span style="color:red">&lt;%@ <code>Assembly Name="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" %&gt;</code></span></p>
<p>Then add a code block into the page that gets the current user and compares it to the group membership. The following example uses VB.Net and sees if the current user is in the &#8220;NY Staff&#8221; group. If so, then the script redirects to the page &#8220;NY.aspx.&#8221; Rather than redirecting, you could also add code to write out customized content based on the membership information.</p>
<p>               <span style="color:red">&lt;%</span></p>
<p style="margin-left: 36pt"><span style="color:red"> </span><code><span style="color:red">   Try<br />
</span></code><code><span style="color:red">   'Get group membership for current user<br />
</span></code><code><span style="color:red">        Dim DomainUser As String = Replace(User.Identity.Name, "\", "/")<br />
</span></code><code><span style="color:red">        Dim ADEntry As New System.DirectoryServices.DirectoryEntry("WinNT://" &amp; DomainUser)<br />
</span></code><code><span style="color:red">        Dim MembersCollection As Object 'Underlaying is a IADsMembers interface<br />
</span></code><code><span style="color:red">        MembersCollection = ADEntry.Invoke("Groups")<br />
</span></code><code><span style="color:red">        Dim group As Object 'IADsGroup interface<br />
</span></code><code><span style="color:red">        Dim vFound As Boolean = False<br />
</span></code><code><span style="color:red">        For Each group In MembersCollection<br />
</span></code><code><span style="color:red">            If LCase(group.Name) = "ny staff" Then<br />
</span></code><code><span style="color:red">                vFound = True<br />
</span></code><code><span style="color:red">                Exit For<br />
</span></code><code><span style="color:red">            End If<br />
</span></code><code><span style="color:red">        Next<br />
</span></code><code><span style="color:red">        'Do something if group is found<br />
</span></code><code><span style="color:red">        If vFound Then<br />
</span></code><code><span style="color:red">            Response.redirect("NY.aspx")<br />
</span></code><code><span style="color:red">        End If<br />
</span></code><code><span style="color:red">      Catch ex As Exception<br />
</span></code><code><span style="color:red">        'response.write(ex.message)<br />
</span></code><code><span style="color:red">      End Try<br />
</span></code><span style="color:red">%&gt;</span></p>
<table border=0><tr><td width="215">
<!-- Start WP Socializer - Social Buttons - Output -->
<div class="wp-socializer 16px">
<ul class="wp-socializer-none columns-no">
 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 
</ul> 
<div class="wp-socializer-clearer"></div></div>
<!-- End WP Socializer - Social Buttons - Output -->
</td><td>
<!-- Start WP Socializer Plugin - Retweet Button -->
<script type="text/javascript">
<!--
tweetmeme_url = "http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/"; tweetmeme_style = "compact"; tweetmeme_source = "kraftkennedy"; 

--></script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
<!-- End WP Socializer Plugin - Retweet Button -->
</td></tr></table>]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/07/13/audience-targeting-in-wss/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How To: Enable Active Directory Authentication on VMware ESX</title>
		<link>http://blogs.kraftkennedy.com/index.php/2009/04/01/how-to-enable-active-directory-authentication-on-vmware-esx/</link>
		<comments>http://blogs.kraftkennedy.com/index.php/2009/04/01/how-to-enable-active-directory-authentication-on-vmware-esx/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 15:53:38 +0000</pubDate>
		<dc:creator>Matt Liebowitz</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[ESX]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://blogs.research.kkl.com/?p=32</guid>
		<description><![CDATA[When managing a VMware ESX host, most functions can be done via the VI Client. The VI Client offers an easy to use GUI interface for management and configuration of one or multiple ESX hosts. That said, there are times when connecting to the Service Console of the ESX host is required. Often times multiple [...]]]></description>
			<content:encoded><![CDATA[<p>When managing a VMware ESX host, most functions can be done via the VI Client.  The VI Client offers an easy to use GUI interface for management and configuration of one or multiple ESX hosts.  That said, there are times when connecting to the Service Console of the ESX host is required.  Often times multiple administrators will login to the Service Console as the root (highest level access) user, making it difficult to know which administrator performed any task.</p>
<p>It is not recommended that all administrators connect to the ESX host as the root user.  Further, as a security best practice connecting to the ESX host via SSH as the root user is restricted by default.</p>
<p>With these restrictions and best practices, how should Service Console access be managed on ESX hosts?  In truth, ESX hosts are like all other servers and best practices for security and auditing should be followed &#8211; that is, all administrators that have to login to the ESX host should do so with their own account.</p>
<p>For administrators, managing multiple logins for different systems can be difficult and can lead to the use of weak or common passwords.  To get around this issue with VMware ESX, administrators can enable Active Directory authentication which allows them to login with their domain credentials instead of a local Linux account.</p>
<p>The following steps must be completed on each ESX host in the environment in order to enable AD authentication:</p>
<p><strong>Configure Active Directory Authentication on ESX</strong></p>
<ol>
<li>
<div>Connect to the ESX host as the root user.  Issue the following command:</div>
<p><em>esxcfg-auth &#8211;enablead &#8211;addmoain=ActiveDirectoryDomain &#8211;addc=FQDN.of.domain.controller<br />
</em></p>
<p>For example, configuring AD authentication for Kraft Kennedy&#8217;s Research domain research.kraftkennedy.com with a domain controller named nyrdc01.research.kraftkennedy.com would look like the following:</p>
<p><em>esxcfg-auth &#8211;enablead &#8211;addomain=research.kraftkennedy.com &#8211;addc=nyrdc01.research.kraftkennedy.com<br />
</em></p>
<p>Additional domain controllers can be added via additional &#8211;addc command and should be done to provide some redundancy.</li>
<li>
<div>Create Linux accounts for each administrator that needs to connect to the ESX Service Console</div>
<p><em>Useradd username<br />
</em></p>
<p>To add the &#8220;admin.liebowitz&#8221; account to the ESX host, the command would be:</p>
<p><em>useradd admin.liebowitz<br />
</em></p>
<p>As administrators leave the organization, their accounts can be removed with the following command:</p>
<p><em>userdel username<br />
</em></li>
<li>
<div>Once authenticated, if additional access is required the administrator can issue the following command to elevate to root level access:</div>
<p><em>su -<br />
</em></li>
</ol>
<p>Once the above steps have been completed, administrators can login to the ESX host via SSH using their AD credentials.  This allows organizations to maintain best practices by restricting root level SSH access as well as makes it easier to see which administrators have logged into a particular server.</p>
<table border=0><tr><td width="215">
<!-- Start WP Socializer - Social Buttons - Output -->
<div class="wp-socializer 16px">
<ul class="wp-socializer-none columns-no">
 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 

 <li><a href="" title="" target="_blank"><img src="http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-mask-16px.gif" alt="" style="width:16px; height:16px; background: transparent url(http://blogs.kraftkennedy.com/wp-content/plugins/wp-socializer/public/social-icons/wp-socializer-sprite-16px.png) no-repeat; background-position:0px -px; border:0;"/></a></li> 
</ul> 
<div class="wp-socializer-clearer"></div></div>
<!-- End WP Socializer - Social Buttons - Output -->
</td><td>
<!-- Start WP Socializer Plugin - Retweet Button -->
<script type="text/javascript">
<!--
tweetmeme_url = "http://blogs.kraftkennedy.com/index.php/2009/04/01/how-to-enable-active-directory-authentication-on-vmware-esx/"; tweetmeme_style = "compact"; tweetmeme_source = "kraftkennedy"; 

--></script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
<!-- End WP Socializer Plugin - Retweet Button -->
</td></tr></table>]]></content:encoded>
			<wfw:commentRss>http://blogs.kraftkennedy.com/index.php/2009/04/01/how-to-enable-active-directory-authentication-on-vmware-esx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

