Monday, February 6, 2012

Sharepoint 2010 Form Based Authentication Using Active Directory

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
1.png

2.png

3.png

4.png

NOTE: connectionString will differ based on domain configuration. Please contact you Administrator to provide the LDAP details.
2. Add Connection string and membership provider in SecurityTokenServiceApplication web.config
5.png

6.png

7.png

NOTE: connectionString will differ based on domain configuration. Please contact you Administrator to provide the LDAP details.

3. Create a new site with claim based authentication using Central Administration
8.png

Authentication : Claim Based
Claims Authentication Types: Enable Windows Authentication -> Integrated Windows authentication - > NTLM
Leave others to default

9.png
4. Now Create Site Collection at port 2233
10.png

And add Primary / Secondary Site Collection Administrators

11.png

12.png

So the resultant site will look like below.
13.png

5 Extend the web application to port 3322 and enable form based authentication (FBA)
14.png

Set the public URL Zone- Intranet or Extranet
5. Add Users to the Intranet zone using User Policy
15.png

16.png

17.png


18.png

Add more users as required with desired permissions.
Now open the newly extended application, and use your domain credentials to login the app.

19.png

20.png

1 comment: