Ok after spending a few weeks at Microsoft working with MOSS 2007 and trying to get a site working with both Integrated and FBA security I thought I might as well post up a quick "how to" because it seems apparent that this is something that is not very well documented but alot of companies are going to want this type of scenario.
I also sat with a Microsoft guy who specialised in SharePoint who had never even seen FBA working with the SSP profile database before.
Anyway here goes, first of all ill show how to get the actual site working so FBA users can login into the site by browsing to an external URL. For example browsing to http://localhost/ will authenticate using integrated security and browsing to http://localhostexternal/ will authenticate using FBA.
SQL Server Setup Create new database to hold membership data
Run aspnet_regsql.exe with from Visual Studio
2005 command prompt to create database schema
Web.config changes Add connectionStrings entry to web.config file of both web
application and central admin site, this is the connection string that points to your membership database.
Add membership provider section to web.config file of both
web application and central admin site
Add role provider section to to web.config file of both web
application and central admin site
Change default RoleManager provider to
AspNetWindowsTokenProvider for web.config
SharePoint Administration
Extend Web Application
Open Central Admin Site
Open Application Management
Click Create or Extend Web Application
Click Extend Web Application
Enter details for external site access and click OK
Go back to Application Management
Setup Authentication Providers
Click Authentication Providers
Select correct zone from dropdown (the external FBA zone
created earlier when application was extended)
Change Authentication Type to Forms
Check Anonymous Access
Enter Membership and Role provider names into respective boxes
Click Save
Setup FBA Administrator
Open IIS Web Admin Tool from Visual Studio 2005
Add new user to application
Open Central Admin site
Open Application Management
Click Policy For Web Application
Click Add Users
Select External zone created earlier from dropdown list
Enter username of the FBA administrator and click the Resolve button
Check Full Control then click Finish
Setup FBA for Shared Service Provider
Web.config changes
Add connectionStrings entry to web.config file for both MySite and SSP Admin site
Add membership provider section to web.config file for
both MySite and SSP Admin site
Add role provider section to to web.config file for both MySite and SSP Admin site
Add FBA user personalisation services oermissions
Open SSP Admin
Click Personalisation service permissions
Click Add user
Enter FBA username and click resolve button
Check all boxes
Click Save
Setup Authentication Providers
Open Central Admin Site
Open Application Management
Click Authentication Providers
Select SSP Admin from Web Application dropdown
Select default zone from dropdown
Change Authentication Type to Forms
Enter Membership and Role provider names into respective boxes
Click Save
Repeat for MySite Web Application
Setup FBA Administrator for SSP Admin & MySite
Open Central Admin site
Open Application Management
Click Policy For Web Application
Select SSP Admin Web Application from dropdown
Click Add Users
Select default zone
Enter username of the FBA administrator and click the Resolve button
Check Full Control then click Finish
Repeat for MySite Web Application
Setup Site Collection Administrators for SSP Admin & MySite
Open Central Admin site
Open Application Management
Click Site Collection Administrators
Select SSP Admin site from web application dropdown
Enter FBA user into Primary Administrator box and click Resolve button
Click Ok
Repeat for MySite web application
Ensure Self service site management is turned on
Open Central Admin site
Open Application management
Click Self Service Site Management
Turn on for all web applications
Assign My Site Host Permissions to FBA group
Open SSP Admin
Click My Site Settings
Click My Site Host Permissions
Click Site Permissions
Click Add Users
Enter FBA group for everyone e.g. User
Grant Permissions
Click OK
Grant personalisation service permissions
Open SSP Admin site
Click Personalization service permissions
Click Add Users
Enter FBA User group and click resolve button
Click Save
Anyway I know this is a very high level explaination, so if anyone wants my help drop me a line at leedale@athousandthreads.com
Cheers
