<?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>Sharepoint Server &#187; Authentication</title>
	<atom:link href="http://www.fivenumber.com/tag/authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fivenumber.com</link>
	<description>It&#039;s all about SharePoint</description>
	<lastBuildDate>Tue, 03 Jan 2012 16:33:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
<link>http://www.fivenumber.com</link>
<url>http://www.fivenumber.com/wp-content/mbp-favicon/5.jpg</url>
<title>Sharepoint Server</title>
</image>
		<item>
		<title>Form Based Authentication in Sharepoint 2007</title>
		<link>http://www.fivenumber.com/form-based-authentication-in-sharepoint-2007/</link>
		<comments>http://www.fivenumber.com/form-based-authentication-in-sharepoint-2007/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 12:06:05 +0000</pubDate>
		<dc:creator>GVK</dc:creator>
				<category><![CDATA[MOSS - General]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Central Admin]]></category>
		<category><![CDATA[FBA]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.fivenumber.com/?p=129</guid>
		<description><![CDATA[Steps to configure Form based authentication in MOSS 2007: Creating the SQL database Creating the users in SQL database Creating two sharepoint sites (one is web application and other extending the web application) Configure membership, role provider and connection string in both web.config files of the Sharepoint site Configure authentication type in central administration We [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Steps to configure Form based authentication in MOSS 2007:</strong></p>
<ul>
<li>Creating the SQL database</li>
<li>Creating the users in SQL database</li>
<li>Creating two sharepoint sites (one is web application and other extending the web application)</li>
<li>Configure membership, role provider and connection string in both web.config files of the Sharepoint site</li>
<li>Configure authentication type in central administration</li>
</ul>
<p>We will discuss all the above point in detail</p>
<p><strong>Creating the SQL database</strong></p>
<p>To create SQL database Microsoft has provided a utility called  aspnet_regsql.exe, browse to the location C:WINDOWSMicrosoft.NETFrameworkv2.0.50727</p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/aspnet_regsql1.gif" rel="lightbox[129]"><img class="size-medium wp-image-131" title="aspnet_regsql utility for creating SQL database" src="http://www.fivenumber.com/wp-content/uploads/2008/08/aspnet_regsql1-300x253.gif" alt="aspnet_regsql utility for creating SQL database" width="300" height="253" /></a><p class="wp-caption-text">aspnet_regsql utility for creating SQL database</p></div>
<div id="attachment_132" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database.jpg" rel="lightbox[129]"><img class="size-medium wp-image-132" title="Creating SQL database" src="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database-300x232.jpg" alt="Creating SQL database" width="300" height="232" /></a><p class="wp-caption-text">Creating SQL database</p></div>
<div id="attachment_135" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database22.jpg" rel="lightbox[129]"><img class="size-medium wp-image-135" title="Creating SQL database" src="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database22-300x232.jpg" alt="Creating SQL database" width="300" height="232" /></a><p class="wp-caption-text">Creating SQL database</p></div>
<div id="attachment_136" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database3.jpg" rel="lightbox[129]"><img class="size-medium wp-image-136" title="Creating SQL database" src="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-fba-database3-300x232.jpg" alt="Creating SQL database" width="300" height="232" /></a><p class="wp-caption-text">Creating SQL database</p></div>
<p><strong>Creating the users in SQL database</strong></p>
<p>To create users in SQL database first of all create one ASP.NET web application using Visual Studio 2005, open Visual Studio 2005, then click on.</p>
<p>File &gt; New &gt; Website</p>
<p>Select the ASP.NET website and click OK</p>
<div id="attachment_139" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/aspnetwebapplication2.jpg" rel="lightbox[129]"><img class="size-medium wp-image-139" title="Creating ASP.NET web application" src="http://www.fivenumber.com/wp-content/uploads/2008/08/aspnetwebapplication2-300x195.jpg" alt="Creating ASP.NET web application" width="300" height="195" /></a><p class="wp-caption-text">Creating ASP.NET web application</p></div>
<p>To add the web.config file, right click on the project name in solution explorer select add new item, select web configuration file and then Add</p>
<p>or</p>
<p>Press F5 to automatically adding the web.config file to the project</p>
<p>Add the connection string in the web.config file</p>
<p>&lt;!&#8211;Connection String Starts&#8211;&gt;<br />
&lt;connectionStrings&gt;<br />
&lt;add name=&#8221;Fbadb_sqlConnectionString&#8221;<br />
connectionString=&#8221;uid=sa;pwd=sa;<br />
Initial Catalog=FBADB;<br />
Data Source=fivenumber&#8221; /&gt;<br />
&lt;/connectionStrings&gt;<br />
&lt;!&#8211;Connection String Ends&#8211;&gt;</p>
<p>&lt;system.web&gt;</p>
<p>&lt;!&#8211;Membership Provider Starts&#8211;&gt;<br />
&lt;membership defaultProvider=&#8221;Fbadb_ASPNETSqlMembershipProvider&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;Fbadb_ASPNETSqlMembershipProvider&#8221;<br />
type=&#8221;System.Web.Security.SqlMembershipProvider,<br />
System.Web, Version=2.0.0.0,<br />
Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a&#8221;<br />
connectionStringName=&#8221;Fbadb_sqlConnectionString&#8221;<br />
enablePasswordRetrieval=&#8221;false&#8221;<br />
enablePasswordReset=&#8221;true&#8221;<br />
requiresQuestionAndAnswer=&#8221;true&#8221;<br />
applicationName=&#8221;/&#8221;<br />
requiresUniqueEmail=&#8221;false&#8221;<br />
passwordFormat=&#8221;Hashed&#8221;<br />
maxInvalidPasswordAttempts=&#8221;5&#8243;<br />
minRequiredPasswordLength=&#8221;1&#8243;<br />
minRequiredNonalphanumericCharacters=&#8221;0&#8243;<br />
passwordAttemptWindow=&#8221;10&#8243;<br />
passwordStrengthRegularExpression=&#8221;"/&gt;<br />
&lt;/providers&gt;<br />
&lt;/membership&gt;<br />
&lt;!&#8211;Membership Provider Ends&#8211;&gt;</p>
<p>&lt;!&#8211;Role Provider Starts&#8211;&gt;<br />
&lt;roleManager enabled=&#8221;true&#8221; defaultProvider=&#8221;Fbadb_ASPNETSqlRoleProvider&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;Fbadb_ASPNETSqlRoleProvider&#8221;<br />
connectionStringName=&#8221;Fbadb_sqlConnectionString&#8221;<br />
applicationName=&#8221;/&#8221;<br />
type=&#8221;System.Web.Security.SqlRoleProvider,<br />
System.Web,Version=2.0.0.0,<br />
Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a&#8221;/&gt;<br />
&lt;/providers&gt;<br />
&lt;/roleManager&gt;<br />
&lt;!&#8211;Role Provider Ends&#8211;&gt;</p>
<p>As show in the below image</p>
<div id="attachment_142" class="wp-caption aligncenter" style="width: 239px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/webconfig-file1.jpg" rel="lightbox[129]"><img class="size-medium wp-image-142" title="Web configuration file" src="http://www.fivenumber.com/wp-content/uploads/2008/08/webconfig-file1-229x300.jpg" alt="Web configuration file" width="229" height="300" /></a><p class="wp-caption-text">Web configuration file</p></div>
<p>Save the web.config file and run ASP.NET configuration wizard by clicking on Website menu and click ASP.NET Configuration</p>
<div id="attachment_143" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration.jpg" rel="lightbox[129]"><img class="size-medium wp-image-143" title="ASP.NET Configuration wizard" src="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration-300x291.jpg" alt="ASP.NET Configuration wizard" width="300" height="291" /></a><p class="wp-caption-text">ASP.NET Configuration wizard</p></div>
<div id="attachment_145" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration3.jpg" rel="lightbox[129]"><img class="size-medium wp-image-145" title="ASP.NET Configuration wizard" src="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration3-300x210.jpg" alt="ASP.NET Configuration wizard" width="300" height="210" /></a><p class="wp-caption-text">ASP.NET Configuration wizard</p></div>
<p>To test the Membership and Role provider click provider tab and then click on <strong>Select a different provider for each feature (advanced)</strong></p>
<p>Select your Membership provider name and click on <strong>Test </strong>link</p>
<div id="attachment_146" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration4.jpg" rel="lightbox[129]"><img class="size-medium wp-image-146" title="ASP.NET Configuration wizard - Testing the Membership and Role Provider" src="http://www.fivenumber.com/wp-content/uploads/2008/08/user-configuration4-300x265.jpg" alt="ASP.NET Configuration wizard - Testing the Membership and Role Provider" width="300" height="265" /></a><p class="wp-caption-text">ASP.NET Configuration wizard - Testing the Membership and Role Provider</p></div>
<p>If you can see the message like &#8216;Successfully established a connection to the database&#8217; think that the communication between the interface and database is successfull</p>
<p>Now go on to <strong>create the user</strong></p>
<p>Click on the <strong>Security</strong> tab of ASP.NET web site administration tool, under Users section click the link <strong>Select authentication type </strong>and select the radio button <strong>From the internet </strong>click <strong>Done</strong></p>
<p>Then, again click on <strong>Security </strong>tab click on<strong> Create user </strong>fill the appropriate fields</p>
<div id="attachment_149" class="wp-caption aligncenter" style="width: 280px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-the-user.jpg" rel="lightbox[129]"><img class="size-medium wp-image-149" title="Creating the user" src="http://www.fivenumber.com/wp-content/uploads/2008/08/creating-the-user-270x300.jpg" alt="Creating the user" width="270" height="300" /></a><p class="wp-caption-text">Creating the user</p></div>
<p><strong>Creating two sharepoint sites (one is web application and other extending the web application)</strong></p>
<p>Go to Central Administration &gt; Application Management &gt; Create or Extend Web Application &gt; Create New Web Application</p>
<p>Fill the appropriate fields</p>
<div id="attachment_150" class="wp-caption aligncenter" style="width: 171px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/create-web-app.gif" rel="lightbox[129]"><img class="size-medium wp-image-150" title="Creating the web application" src="http://www.fivenumber.com/wp-content/uploads/2008/08/create-web-app-161x300.gif" alt="Creating the web application" width="161" height="300" /></a><p class="wp-caption-text">Creating the web application</p></div>
<p>Create a site collection by choosing a template (team site, collaboration portal etc)</p>
<p>After creating the Top Level Site Successfully</p>
<p>Now, Extend the web application</p>
<p>Go to Central Administration &gt; Application Management &gt; Create or Extend Web Application &gt; Extend Web Application to Another IIS Web Site</p>
<div id="attachment_151" class="wp-caption aligncenter" style="width: 193px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/extending-web-app.gif" rel="lightbox[129]"><img class="size-medium wp-image-151" title="Extending web application" src="http://www.fivenumber.com/wp-content/uploads/2008/08/extending-web-app-183x300.gif" alt="Extending web application" width="183" height="300" /></a><p class="wp-caption-text">Extending web application</p></div>
<p>After Extending the web application, now we should configure connection string in web.config file’s of sharepoint site (web application and extended application) by adding the connecton string tag exactly below the &lt;/configSections&gt; tag and above the &lt;sharepoint&gt; tag (Note: Change the Data Source name according to your database servername)</p>
<p>&lt;connectionStrings&gt;<br />
&lt;add name=&#8221;FBA_sqlConnectionString&#8221; connectionString=&#8221;uid=sa;pwd=sa;Initial Catalog=FBADB;Data Source=fivenumber&#8221; /&gt;<br />
&lt;/connectionStrings&gt;</p>
<p>See the image below:</p>
<div id="attachment_154" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/webconfig-file-of-fba1.gif" rel="lightbox[129]"><img class="size-medium wp-image-154" title="Web Configuration File of web application 1" src="http://www.fivenumber.com/wp-content/uploads/2008/08/webconfig-file-of-fba1-300x127.gif" alt="Web Configuration File of web application 1" width="300" height="127" /></a><p class="wp-caption-text">Web Configuration File of web application</p></div>
<p>Confiure Membership and Role provider in both the sharepoint sites (web application and extended application)</p>
<p>Search for the machinekey tag (&lt;machineKey validationKey=&#8221;79DDCD075B91C0B088FA25244D65D0745641F91E8A823392&#8243;<br />
decryptionKey=&#8221;C855BB4C77B455A6706638B8A9D1439B5BB0F3612F2F9DCA&#8221; validation=&#8221;SHA1&#8243; /&gt;)</p>
<p>Copy and paste the below tags exactly after the machinekey tag</p>
<p>&lt;!&#8211;Membership provider starts&#8211;&gt;<br />
&lt;membership defaultProvider=&#8221;Fbadb_ASPNETSqlMembershipProvider&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;Fbadb_ASPNETSqlMembershipProvider&#8221;<br />
type=&#8221;System.Web.Security.SqlMembershipProvider,<br />
System.Web, Version=2.0.0.0, Culture=neutral,<br />
PublicKeyToken=b03f5f7f11d50a3a&#8221;<br />
connectionStringName=&#8221;FBA_sqlConnectionString&#8221;<br />
enablePasswordRetrieval=&#8221;false&#8221;<br />
enablePasswordReset=&#8221;true&#8221;<br />
requiresQuestionAndAnswer=&#8221;true&#8221;<br />
applicationName=&#8221;/&#8221;<br />
requiresUniqueEmail=&#8221;false&#8221;<br />
passwordFormat=&#8221;Hashed&#8221;<br />
maxInvalidPasswordAttempts=&#8221;5&#8243;<br />
minRequiredPasswordLength=&#8221;1&#8243;<br />
minRequiredNonalphanumericCharacters=&#8221;0&#8243;<br />
passwordAttemptWindow=&#8221;10&#8243;<br />
passwordStrengthRegularExpression=&#8221;" /&gt;<br />
&lt;/providers&gt;<br />
&lt;/membership&gt;<br />
&lt;!&#8211;Membership provider starts&#8211;&gt;<br />
&lt;!&#8211;Role provider starts&#8211;&gt;<br />
&lt;roleManager enabled=&#8221;true&#8221; defaultProvider=&#8221;Fbadb_ASPNETSqlRoleProvider&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;Fbadb_ASPNETSqlRoleProvider&#8221;<br />
connectionStringName=&#8221;FBA_sqlConnectionString&#8221;<br />
applicationName=&#8221;/&#8221;<br />
type=&#8221;System.Web.Security.SqlRoleProvider,<br />
System.Web,Version=2.0.0.0,<br />
Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/roleManager&gt;<br />
&lt;!&#8211;Role provider ends&#8211;&gt;</p>
<p>See the below image:</p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/membershipprovider.gif" rel="lightbox[129]"><img class="size-medium wp-image-155" title="Configuring Membership and Role Provider" src="http://www.fivenumber.com/wp-content/uploads/2008/08/membershipprovider-300x208.gif" alt="Configuring Membership and Role Provider" width="300" height="208" /></a><p class="wp-caption-text">Configuring Membership and Role Provider</p></div>
<p><strong>Configure the authentication type in central administration</strong></p>
<p>Go to Central Administration &gt; Application Management &gt; Authentication Providers</p>
<p>Click on the extended web application (2nd in the row) enter the Membership provider name and Role provider name as shown in the below image:</p>
<div id="attachment_158" class="wp-caption aligncenter" style="width: 199px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/configuring-the-authentication-type1.jpg" rel="lightbox[129]"><img class="size-medium wp-image-158" title="Configuring Authentication Type" src="http://www.fivenumber.com/wp-content/uploads/2008/08/configuring-the-authentication-type1-189x300.jpg" alt="Configuring Authentication Type" width="189" height="300" /></a><p class="wp-caption-text">Configuring Authentication Type</p></div>
<p>Now, add the user in the web application  (which you have created in SQL database) in Site Settings &gt; Permissions &gt; Add Users</p>
<p>Try to access the extended form based authentic web application</p>
<div id="attachment_159" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/sql-login.gif" rel="lightbox[129]"><img class="size-medium wp-image-159" title="Form based authentication - SQL login" src="http://www.fivenumber.com/wp-content/uploads/2008/08/sql-login-300x100.gif" alt="Form based authentication - SQL login" width="300" height="100" /></a><p class="wp-caption-text">Form based authentication - SQL login</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.fivenumber.com/form-based-authentication-in-sharepoint-2007/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Configuring LDAP authentication in MOSS 2007</title>
		<link>http://www.fivenumber.com/configuring-ldap-authentication-in-moss-2007/</link>
		<comments>http://www.fivenumber.com/configuring-ldap-authentication-in-moss-2007/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 10:12:21 +0000</pubDate>
		<dc:creator>GVK</dc:creator>
				<category><![CDATA[MOSS - Administration and Operation]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Central Admin]]></category>
		<category><![CDATA[LDAP authentication]]></category>
		<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://www.fivenumber.com/?p=122</guid>
		<description><![CDATA[Create a web application on port 5 (not only on 5 you can chooose other ports too) Extend the web application on to port 6 (which was created on port 5) copy &#38; paste the below tags exactly after machinkey tag (&#60;machineKey validationKey=&#8221;7B896F9AC751CE89F7EEB83E766CF6004D42A26DB9C26C95&#8243; decryptionKey=&#8221;2DB30482C44B8B6EE13444509E5243E761241B67209B6FF2&#8243; validation=&#8221;SHA1&#8243; /&#62;) &#60;membership defaultProvider=&#8221;LDAPMember&#8221;&#62; &#60;providers&#62; &#60;add name=&#8221;LDAPMember&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Create a web application on port 5 (not only on 5 you can chooose other ports too)</li>
<li>Extend the web application on to port 6 (which was created on port 5)</li>
</ul>
<div id="attachment_124" class="wp-caption aligncenter" style="width: 205px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/extending-web-application1.gif" rel="lightbox[122]"><img class="size-medium wp-image-124" title="Extend the web application on to port 6" src="http://www.fivenumber.com/wp-content/uploads/2008/08/extending-web-application1-195x300.gif" alt="Extend the web application on to port 6" width="195" height="300" /></a><p class="wp-caption-text">Extend the web application on to port 6</p></div>
<p>copy &amp; paste the below tags exactly after machinkey tag (&lt;machineKey validationKey=&#8221;7B896F9AC751CE89F7EEB83E766CF6004D42A26DB9C26C95&#8243; decryptionKey=&#8221;2DB30482C44B8B6EE13444509E5243E761241B67209B6FF2&#8243; validation=&#8221;SHA1&#8243; /&gt;)</p>
<p>&lt;membership defaultProvider=&#8221;LDAPMember&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPMember&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; userDNAttribute=&#8221;uid&#8221; userNameAttribute=&#8221;uid&#8221; userContainer=&#8221;*&#8221; userObjectClass=&#8221;person&#8221; userFilter=&#8221;(ObjectClass=person)&#8221; scope=&#8221;Subtree&#8221; otherRequiredUserAttributes=&#8221;sn,givenname,cn&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/membership&gt;</p>
<p>&lt;roleManager defaultProvider=&#8221;AspNetWindowsTokenRoleProvider&#8221; enabled=&#8221;true&#8221; cacheRolesInCookie=&#8221;true&#8221; cookieName=&#8221;.PeopleDCRole&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPRole&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPRoleProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; groupContainer=&#8221;*&#8221; groupNameAttribute=&#8221;cn&#8221; groupMemberAttribute=&#8221;member&#8221; userNameAttribute=&#8221;uid&#8221; dnAttribute=&#8221;fullname&#8221; groupFilter=&#8221;(ObjectClass=dominogroup)&#8221; scope=&#8221;Subtree&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/roleManager&gt;</p>
<p><strong>Register the Membership Provider in Web.config file of web application (created on port 5)</strong></p>
<p>copy &amp; paste the below tags exactly after machinkey tag (&lt;machineKey validationKey=&#8221;17546320333E569C03469848807DDC42B88B99B6467F6172&#8243; decryptionKey=&#8221;B8E349D60494DDF780898F55B74024D00048D5EF4F956BCB&#8221; validation=&#8221;SHA1&#8243; /&gt;)</p>
<p>&lt;membership defaultProvider=&#8221;LDAPMember&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPMember&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; userDNAttribute=&#8221;uid&#8221; userNameAttribute=&#8221;uid&#8221; userContainer=&#8221;*&#8221; userObjectClass=&#8221;person&#8221; userFilter=&#8221;(ObjectClass=person)&#8221; scope=&#8221;Subtree&#8221; otherRequiredUserAttributes=&#8221;sn,givenname,cn&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/membership&gt;</p>
<p>&lt;roleManager defaultProvider=&#8221;LDAPRole&#8221; enabled=&#8221;true&#8221; cacheRolesInCookie=&#8221;true&#8221; cookieName=&#8221;.PeopleDCRole&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPRole&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPRoleProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; groupContainer=&#8221;*&#8221; groupNameAttribute=&#8221;cn&#8221; groupMemberAttribute=&#8221;member&#8221; userNameAttribute=&#8221;uid&#8221; dnAttribute=&#8221;fullname&#8221; groupFilter=&#8221;(ObjectClass=dominogroup)&#8221; scope=&#8221;Subtree&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/roleManager&gt;</p>
<p><strong>Register the Membership Provider in Web.config file of extended web application (which was extended on port 6)</strong></p>
<p>copy &amp; paste the below tags exactly after machinkey tag (&lt;machineKey validationKey=&#8221;17546320333E569C03469848807DDC42B88B99B6467F6172&#8243; decryptionKey=&#8221;B8E349D60494DDF780898F55B74024D00048D5EF4F956BCB&#8221; validation=&#8221;SHA1&#8243; /&gt;)</p>
<p>&lt;membership defaultProvider=&#8221;LDAPMember&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPMember&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; userDNAttribute=&#8221;uid&#8221; userNameAttribute=&#8221;uid&#8221; userContainer=&#8221;*&#8221; userObjectClass=&#8221;person&#8221; userFilter=&#8221;(ObjectClass=person)&#8221; scope=&#8221;Subtree&#8221; otherRequiredUserAttributes=&#8221;sn,givenname,cn&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/membership&gt;</p>
<p>&lt;roleManager defaultProvider=&#8221;LDAPRole&#8221; enabled=&#8221;true&#8221; cacheRolesInCookie=&#8221;true&#8221; cookieName=&#8221;.PeopleDCRole&#8221;&gt;<br />
&lt;providers&gt;<br />
&lt;add name=&#8221;LDAPRole&#8221; type=&#8221;Microsoft.Office.Server.Security.LDAPRoleProvider, Microsoft.Office.Server, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; groupContainer=&#8221;*&#8221; groupNameAttribute=&#8221;cn&#8221; groupMemberAttribute=&#8221;member&#8221; userNameAttribute=&#8221;uid&#8221; dnAttribute=&#8221;fullname&#8221; groupFilter=&#8221;(ObjectClass=dominogroup)&#8221; scope=&#8221;Subtree&#8221; /&gt;<br />
&lt;/providers&gt;<br />
&lt;/roleManager&gt;</p>
<p>After completing the above steps go to</p>
<p><strong>Central Administration &gt; Application Management &gt; Authentication Providers</strong></p>
<p>Click on the extended web application (2nd one in the row)</p>
<ul>
<li>Select the Authentication Type to &#8216;Forms&#8217;</li>
<li>Enter the Membership Provider Name as &#8216;LDAPMember&#8217;</li>
<li>Enter the Role Manager Name as &#8216;LDAPRole&#8217;</li>
</ul>
<div id="attachment_126" class="wp-caption aligncenter" style="width: 187px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/authentication-type1.gif" rel="lightbox[122]"><img class="size-medium wp-image-126" title="LDAP Authentication Type" src="http://www.fivenumber.com/wp-content/uploads/2008/08/authentication-type1-177x300.gif" alt="LDAP Authentication Type" width="177" height="300" /></a><p class="wp-caption-text">LDAP Authentication Type</p></div>
<p>Click &#8216;<strong>Save</strong>&#8216;</p>
<p>After completing the above configuration settings</p>
<p>Add the LDAP user in port 5 site.</p>
<div id="attachment_127" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.fivenumber.com/wp-content/uploads/2008/08/add-user.gif" rel="lightbox[122]"><img class="size-medium wp-image-127" title="Add LDAP Member" src="http://www.fivenumber.com/wp-content/uploads/2008/08/add-user-300x249.gif" alt="Add LDAP Member" width="300" height="249" /></a><p class="wp-caption-text">Add LDAP Member</p></div>
<p>Now, try to access the extended web application which was created on port 14 with LDAP username and password</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fivenumber.com/configuring-ldap-authentication-in-moss-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

