<?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; Active Directory Schema</title>
	<atom:link href="http://blog.isaacblum.com/tag/active-directory-schema/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.isaacblum.com</link>
	<description>So Many Rambles So Little Time....</description>
	<lastBuildDate>Fri, 14 May 2010 20:26:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>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>Isaac Blum</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[For The Greater Good]]></category>
		<category><![CDATA[Free Help]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Microsoft]]></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>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.isaacblum.com%2F2009%2F11%2F09%2Fsharepoint-rambles-around-fba-and-active-directory%2F&amp;linkname=SharePoint%20Rambles%20around%20FBA%20and%20Active%20Directory."><img src="http://blog.isaacblum.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </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>
