<?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>Isaac&#039;s Blog &#187; AD</title>
	<atom:link href="http://blog.isaacblum.com/tag/ad/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.isaacblum.com</link>
	<description>So Many Rambles So Little Time....</description>
	<lastBuildDate>Wed, 28 Dec 2011 21:10:03 +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>Trust Relationship Between Workstation and Domain Fails After a SnapShot</title>
		<link>http://blog.isaacblum.com/2011/01/10/trust-relationship-between-workstation-and-domain-fails-after-a-snapshot/</link>
		<comments>http://blog.isaacblum.com/2011/01/10/trust-relationship-between-workstation-and-domain-fails-after-a-snapshot/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 20:59:09 +0000</pubDate>
		<dc:creator>IsaacBlum</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[For The Greater Good]]></category>
		<category><![CDATA[Free Help]]></category>
		<category><![CDATA[HyperV]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[virtualization]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Machine key]]></category>
		<category><![CDATA[Trust Relationship Between Workstation and Domain Fails]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.isaacblum.com/?p=453</guid>
		<description><![CDATA[Trust Relationship Between Workstation and Domain Fails after you restore to a previous snapshot for either VMware or Hyper. This is because by default every 30 days the Active Directory(AD) server will change the machine key for each of its members. In a development environment where security is not important. This can cause a headache, [...]]]></description>
			<content:encoded><![CDATA[<p>Trust Relationship Between Workstation and Domain Fails after you restore to a previous snapshot for either VMware or Hyper. This is because by default every 30 days the Active Directory(AD) server will change the machine key for each of its members. In a development environment where security is not important. This can cause a headache, causing you to unjoin then rejoin servers back to the domain. The other option is to disable this function.</p>
<ol>
<li>On the Domain Controller : Launch Group Policy Management -&gt; Control PanelSystem and SecurityAdministrative ToolsGroup Policy Management</li>
<li>Edit the default group policy or edit the GPO of your choice.</li>
<li>Edit “Domain member: Maximum machine account password age” = 999   Located -&gt; Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesSecurity Options</li>
<li>Edit “Domain member: Disable machine account password changes” = Enabled   Located -&gt; Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesSecurity Options</li>
<li>Edit “Domain controller: Refuse machine account password changes” = Enabled   Located -&gt; Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesSecurity Options</li>
<li>Lastly run “gpupdate /force” on all servers that need this change.</li>
</ol>
<p>Resource links:</p>
<p><a href="http://technet.microsoft.com/en-us/library/cc781050(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc781050(WS.10).aspx</a></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc785826(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc785826(WS.10).aspx</a></p>
<p><a href="http://technet.microsoft.com/en-us/library/cc781050(WS.10).aspx">http://technet.microsoft.com/en-us/library/cc781050(WS.10).aspx</a><strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.isaacblum.com/2011/01/10/trust-relationship-between-workstation-and-domain-fails-after-a-snapshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Rambles around FBA and Active Directory.</title>
		<link>http://blog.isaacblum.com/2009/11/09/sharepoint-rambles-around-fba-and-active-directory/</link>
		<comments>http://blog.isaacblum.com/2009/11/09/sharepoint-rambles-around-fba-and-active-directory/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 15:17:29 +0000</pubDate>
		<dc:creator>IsaacBlum</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[For The Greater Good]]></category>
		<category><![CDATA[Free Help]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Active Directory Schema]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Attributes]]></category>
		<category><![CDATA[FBA]]></category>
		<category><![CDATA[Forms Based Authentication]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Password Question]]></category>
		<category><![CDATA[Password Reset]]></category>
		<category><![CDATA[schema]]></category>
		<category><![CDATA[Schema Modification]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[web.config]]></category>
		<category><![CDATA[WSS]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://blog.isaacblum.com/?p=201</guid>
		<description><![CDATA[Thanks goes to the following people/sites: http://blogs.msdn.com/dansellers/archive/2005/11/09/491152.aspx &#38; http://windowsitpro.com/Web/article/articleid/9738/extending-the-user-class-in-the-ad-schema.html  Enable Password Question and Password Reset: When these attributes are set to true in the web config file as seen below, the user is required to provide an answer to a Password Question when the password is first created.  When the user resets their password, they will [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks goes to the following people/sites: <a href="http://blogs.msdn.com/dansellers/archive/2005/11/09/491152.aspx">http://blogs.msdn.com/dansellers/archive/2005/11/09/491152.aspx</a> &amp; <a href="http://windowsitpro.com/Web/article/articleid/9738/extending-the-user-class-in-the-ad-schema.html">http://windowsitpro.com/Web/article/articleid/9738/extending-the-user-class-in-the-ad-schema.html</a> </p>
<p>Enable Password Question and Password Reset:</p>
<p>When these attributes are set to true in the web config file as seen below, the user is required to provide an answer to a Password Question when the password is first created.  When the user resets their password, they will also be required to provider the answer they supplied to the Password Question when the password was first created. </p>
<p>&lt;membership defaultProvider=&#8221;ADAMProvider&#8221;&gt;<br />
  &lt;providers&gt;<br />
    &lt;add<br />
      connectionStringName=&#8221;ADCnString&#8221;<br />
      connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
      <a href="mailto:connectionPassword=Pass@word1">connectionPassword=Pass@word1</a><br />
      connectionProtection=&#8221;None&#8221;<br />
      requiresQuestionAndAnswer=&#8221;true&#8221;<br />
      enablePasswordReset=&#8221;true&#8221; &#8230;</p>
<p>Mapping Password Question and Answer Attributes:</p>
<p>Both the Password Question and the Answer will be saved in the SQL Server, Active Directory, or the Active Directory Application Mode (ADAM) depending upon the provider you are using. However, if you are using the Active Directory Provider you will be required to modify the schema of either the Active Directory or ADAM to store the Password Question and Password Answer.  Then in the web config file you will need map the Password Question and Answer’s attributes to the modified schema as shown below:</p>
<p>&lt;membership defaultProvider=&#8221;ADAMProvider&#8221;&gt;<br />
   &lt;providers&gt;<br />
      &lt;add<br />
         connectionStringName=&#8221;ADCnString&#8221;<br />
         connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
         <a href="mailto:connectionPassword=Pass@word1">connectionPassword=Pass@word1</a><br />
         connectionProtection=&#8221;None&#8221;<br />
         requiresQuestionAndAnswer=&#8221;true&#8221;<br />
         enablePasswordReset=&#8221;true&#8221;<br />
         attributeMapPasswordQuestion=&#8221;PwdQuestion&#8221;<br />
         attributeMapPasswordAnswer=&#8221;PwdAnswer&#8221; &#8230;<br />
 </p>
<p>Example Schema Modification:</p>
<p>Creating the PwdQuestion and PwdAnswer attribute as defined above is not difficult in the ADAM ADSI Edit tool under the Schema configuration, but initially it takes a while to figure out what values required by the attribute schema wizard.  Below is an example of the values that you can use in your Active Directory or ADAM directory.</p>
<p>    cn:  PwdQuestion<br />
    OMSyntax: 64 (for Unicode string)<br />
    lDAPDisplayName: PwdQuestion<br />
    isSingleValued: TRUE<br />
    AttributeSyntax: 2.5.5.12 (Active Directory syntax type of Unicode)<br />
    AttributeID: 1.2.840.113556.1.6.1.1.6221 (Unique Object Identifiers (OIDs))</p>
<p>    cn:  PwdAnswer<br />
    OMSyntax: 64 (for Unicode string)<br />
    lDAPDisplayName: PwdAnswer<br />
    isSingleValued: TRUE<br />
    AttributeSyntax: 2.5.5.12<br />
    AttributeID: 1.2.840.113556.1.6.1.1.6222</p>
<p>Schema modifications:<br />
Creating the Failed Password Count, Failed Password Answer Time and Failed Password Locked Out Time attributes&#8211;as defined below&#8211;is not difficult in the ADAM ADSI Edit tool under the Schema configuration, but initially it takes a while to figure out what values are required by the attribute schema wizard. Below is an example of the values that you can use in your Active Directory or ADAM directory.</p>
<p>cn: FailedPwdCount<br />
OMSyntax: 2 (for type integer)<br />
lDAPDisplayName: FailedPwdCount<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.9 (Active Directory syntax type of Unicode)<br />
AttributeID: 1.2.840.113556.1.6.1.1.6223 (Unique Object Identifiers (OIDs))</p>
<p>cn: FailedPwdAnswerTime<br />
OMSyntax: 65 (for Large integer/Interval)<br />
lDAPDisplayName: FailedPwdAnswerTime<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.16<br />
AttributeID: 1.2.840.113556.1.6.1.1.6224</p>
<p>cn: FailedPwdLockOutTime<br />
OMSyntax: 65 (for Large integer/Interval)<br />
lDAPDisplayName: FailedPwdLockOutTime<br />
isSingleValued: TRUE<br />
AttributeSyntax: 2.5.5.16<br />
AttributeID: 1.2.840.113556.1.6.1.1.6225</p>
<p>Modify Web Config File:<br />
When using the Active Directory Provider you will be required to modify the Web config to map the Failed Password Answer Count, Failed Password Answer Time and Failed Password Answer Lockout Time attributes to the appropriate User’s properties (as created above) in either your Active Directory or ADAM.</p>
<p>&lt;membership defaultProvider=&#8221;ADAMProvider&#8221;&gt;<br />
   &lt;providers&gt;<br />
      &lt;add</p>
<p>connectionStringName=&#8221;ADCnString&#8221;<br />
connectionUsername=&#8221;CN=ADAdmin,OU=Users,O=ADAuth&#8221;<br />
connectionPassword=Pass@word1<br />
connectionProtection=&#8221;None&#8221;<br />
requiresQuestionAndAnswer=&#8221;true&#8221;<br />
enablePasswordReset=&#8221;true&#8221;<br />
attributeMapPasswordQuestion=&#8221;PwdQuestion&#8221;<br />
attributeMapPasswordAnswer=&#8221;PwdAnswer&#8221;<br />
attributeMapFailedPasswordAnswerCount=&#8221;FailedPwdCount&#8221; attributeMapFailedPasswordAnswerTime=&#8221;FailedPwdAnswerTime&#8221;<br />
attributeMapFailedPasswordAnswerLockoutTime=&#8221;FailedPwdLockOutTime&#8221;</p>
<p>(Adding the attributes to the user clasee)</p>
<p>From the Schema Console, click the Class folder. Scroll down to the User class, right-click it, and select Properties. On the <em>user Properties</em> dialog box, click the Attributes tab, which <a href="http://windowsitpro.com/Files/11/9738/figure_07.gif">Figure 7</a> shows. Click Add, then choose the Gender attribute. Click OK twice, and you&#8217;ve successfully added the Gender attribute to the User class.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.isaacblum.com/2009/11/09/sharepoint-rambles-around-fba-and-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

