Forms Authntication
Hello ,
I need to configure windows Authntication in my SharePoint site :
- I have a Site in SharePoint http://hema:2020
the Steps :
1 - I extend the WebAppliccation and set the following data
description : Sharepoint - www.contoso.com80
port : 80
HostHeader : www.contoso.com
url : http://www.contoso.com
Zone : extranet
2- I create MemberShip DataBase . Then I create Roles and Users in this database .
3- I create web.config of the Extended WebApplication "www.contoso.com80" and set the following tage :
<PeoplePickerWildcards> <clear /> <add key="AspNetSqlMembershipProvider" value="%" /> <add key="fbaMembers" value="%" /></PeoplePickerWildcards>
<connectionStrings> <add name="fbaSQL" connectionString="myconnetionString" /></connectionStrings>
<membership defaultProvider="fbaMembers"> <providers> <add connectionStringName="fbaSQL" applicationName="/" name="fbaMembers" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> </providers></membership><roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"> <providers> <add connectionStringName="fbaSQL" applicationName="/" name="fbaRoles" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> </providers></roleManager>
4- I go to "authentication Provider" from Central Administration :
- I select the WebApplication http://hema:2020
- I select ExtraNet zone . and set the following data (AuthnticationType:Forms && MemberShipProviderName:fbaMembers &&
RoleManagerName : fbaRoles)
5- I go to "Policy for Web application" :
- I select the WebApplication http://hema:2020 .
- Press on " Add User " . Then Select "ExtanetZone".
- I write "User1" in people picker , but the user not found .
So what is the problems in my steps ? is the name "Contoso" is wrong ?
thanksASk
March 24th, 2010 4:44pm
one extra thing at least - you have to add the same things in the web.config of the central administration site too (as you have in the web.config of the extended site), so that the people picker there works
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2010 5:07pm
Hi,
I agree with Stefan.
If you want to know the detailed steps, please refer to
http://www.simple-talk.com/dotnet/windows-forms/configuring-forms-authentication-in-sharepoint-2007/
Hope this helps
Thanks!
Stanfford
March 26th, 2010 9:08am