<?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>Microsoft Sharepoint Server &#187; LDAP authentication</title>
	<atom:link href="http://www.fivenumber.com/tag/ldap-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fivenumber.com</link>
	<description>It&#039;s all about SharePoint</description>
	<lastBuildDate>Mon, 30 Aug 2010 17:05:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
<link>http://www.fivenumber.com</link>
<url>http://www.fivenumber.com/wp-content/mbp-favicon/5.jpg</url>
<title>Microsoft Sharepoint Server</title>
</image>
		<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, PublicKeyToken=71E9BCE111E9429C&#8221; server=&#8221;fivenumber&#8221; port=&#8221;389&#8243; useSSL=&#8221;false&#8221; userDNAttribute=&#8221;uid&#8221; [...]]]></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>
