{"id":2920,"date":"2011-12-01T18:27:32","date_gmt":"2011-12-01T10:27:32","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=2920"},"modified":"2023-07-31T11:40:23","modified_gmt":"2023-07-31T03:40:23","slug":"sharepoint-2010-form-based-authentication-using-active-directory","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/sharepoint-2010-form-based-authentication-using-active-directory\/","title":{"rendered":"How to Configure Form Based Authentication Using Active Directory in SharePoint 2010"},"content":{"rendered":"<p>In this article I will try to show how we can use Active Directory Form Based Authentication in SharePoint 2010 using Lightweight Directory Access Protocol (<strong>LDAP<\/strong>)<\/p>\n<p>1. Add Connection string and membership provider in Central Administration web.config<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2954\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/1.jpg\" alt=\"\" width=\"442\" height=\"434\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/1.jpg 442w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/1-300x294.jpg 300w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/21.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2925\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/21.png\" alt=\"\" width=\"392\" height=\"357\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/21.png 392w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/21-300x273.png 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/a><\/p>\n<p><!--more--><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/31.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2959\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/31.jpg\" alt=\"\" width=\"767\" height=\"163\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/31.jpg 767w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/31-300x63.jpg 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/41.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2928\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/41.png\" alt=\"\" width=\"943\" height=\"175\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/41.png 943w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/41-300x55.png 300w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/a><\/p>\n<p><strong>NOTE<\/strong>: connectionString will differ based on domain configuration. Please contact you Administrator to provide the LDAP details.<\/p>\n<p>2. Add Connection string and membership provider in SecurityTokenServiceApplication web.config<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/5.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2929\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/5.png\" alt=\"\" width=\"405\" height=\"220\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/5.png 405w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/5-300x162.png 300w\" sizes=\"(max-width: 405px) 100vw, 405px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/6.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2930\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/6.png\" alt=\"\" width=\"826\" height=\"278\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/6.png 826w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/6-300x100.png 300w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/7.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2931\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/7.png\" alt=\"\" width=\"788\" height=\"286\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/7.png 788w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/7-300x108.png 300w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/a><\/p>\n<p><strong>NOTE<\/strong>: connectionString will differ based on domain configuration. Please contact you Administrator to provide the LDAP details.<\/p>\n<p>3. Create a new site with claim based authentication using Central Administration<\/p>\n<p><strong><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/8.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2932\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/8.png\" alt=\"\" width=\"597\" height=\"433\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/8.png 597w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/8-300x217.png 300w\" sizes=\"(max-width: 597px) 100vw, 597px\" \/><\/a><br \/>\n<\/strong><\/p>\n<p><strong><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/8.png\"><strong> <\/strong><\/a>Authentication<\/strong> : Claim Based<\/p>\n<p><strong>Claims Authentication Types<\/strong>: Enable Windows Authentication -&gt; Integrated Windows authentication &#8211; &gt; NTLM<\/p>\n<p>Leave others to default<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/9.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2933\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/9.png\" alt=\"\" width=\"503\" height=\"324\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/9.png 503w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/9-300x193.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/a><\/p>\n<p>4. Now Create Site Collection at port 2233<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/10.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2934\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/10.png\" alt=\"\" width=\"640\" height=\"507\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/10.png 640w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/10-300x237.png 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>And add Primary \/ Secondary Site Collection Administrators<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/11.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2935\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/11.png\" alt=\"\" width=\"710\" height=\"547\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/11.png 710w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/11-300x231.png 300w\" sizes=\"(max-width: 710px) 100vw, 710px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/12.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2936\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/12.png\" alt=\"\" width=\"520\" height=\"219\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/12.png 520w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/12-300x126.png 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>So the resultant site will look like below.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/13.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2937\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/13.png\" alt=\"\" width=\"749\" height=\"550\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/13.png 749w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/13-300x220.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<p>5. Extend the web application to port 3322 and enable form based authentication (FBA)<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/14.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2938\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/14.png\" alt=\"\" width=\"599\" height=\"504\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/14.png 599w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/14-300x252.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>Set the public URL Zone- Intranet or Extranet<\/p>\n<p>6. Add Users to the Intranet zone using User Policy<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/15.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2939\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/15.png\" alt=\"\" width=\"751\" height=\"312\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/15.png 751w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/15-300x124.png 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/16.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2940\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/16.png\" alt=\"\" width=\"524\" height=\"266\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/16.png 524w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/16-300x152.png 300w\" sizes=\"(max-width: 524px) 100vw, 524px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/17.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2941\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/17.png\" alt=\"\" width=\"510\" height=\"248\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/17.png 510w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/17-300x145.png 300w\" sizes=\"(max-width: 510px) 100vw, 510px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/18.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2942\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/18.png\" alt=\"\" width=\"549\" height=\"456\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/18.png 549w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/18-300x249.png 300w\" sizes=\"(max-width: 549px) 100vw, 549px\" \/><\/a><\/p>\n<p>Add more users as required with desired permissions.?Now open the newly extended application, and use your domain credentials to login the app.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/19.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2943\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/19.png\" alt=\"\" width=\"679\" height=\"458\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/19.png 679w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/19-300x202.png 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/20.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2944\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/20.png\" alt=\"\" width=\"747\" height=\"520\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/20.png 747w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/20-300x208.png 300w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I will try to show how we can use Active Directory Form Based Authentication in SharePoint 2010 using Lightweight Directory Access Protocol (LDAP) 1. Add Connection string and membership provider in Central Administration web.config<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[461,125,480],"tags":[275,274,273],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2920"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2920"}],"version-history":[{"count":28,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2920\/revisions"}],"predecessor-version":[{"id":9271,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2920\/revisions\/9271"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}