Home Page Link
  Skip Navigation Links
Log in to create posts To create new posts or to reply to existing ones, you must be registered and logged in!

Body

The membership and role provider sections in the central admin should be similar to that in the sites web.config. By some differences around how default is set. There are a few articles on the net about what this should be.
 
Also make sure that the application pool account which runs the central admin site has access to that database which holds your user accounts. It might just be that the central admin site cannot access that SQL table.
 
I dont specify the full name for the user; I just type in the user name e.g. administrator. It then resolves to full name like you typed.

Michael

From: sbee
Posted: Monday, March 08, 2010 3:39 PM
Subject: (Newbie) Authenticate Users via forms

Thanks Mike for the response, the changes that you are talking about on the config files,are the following Connection String and Membership Provider  tags,or are there any other changes that i need to make besides these that i perhaps have missed(besides the PeoplePicker and the RoleProvider).
 
Ive added the seconadry site collection administrator,but im still getting the "No Exact Match found" red squiglly line.
i add it in this format "AspNetSqlMebershipProvider:administrator"
Administrator is the user account i created on my "aspnetdb"
 
Thank you for the tip i will actually need to do check because i dont think we do have those Service Packs.


From: michael.odonovan
Posted: Monday, March 08, 2010 2:08 PM
Subject: (Newbie) Authenticate Users via forms

When you change to use Forms Authentication, you need to change both the web application that hosts your site's web.config file and the central admin web application's web.config file. For central admin to find a user in your custom SQL table, it needs to know to access your new membership provider? Does that make sense? In central admin you will therefore add a secondary admin which comes from your SQL table and the primary comes from AD. Then when you browse to your site, you should be able to provide the SQL table username and pwd to login, once logged in you can then grant other users (and groups ) from your SQL table to your sites permissions.
 
This site i.w. informationworker.co.za is running Forms Auth on SharePoint 2007.
 
Also some suggestions. If you want full Office integration with SharePoint using forms authentication, then you want to make sure your SharePoint is on Sp2 and that your Office desktop clients are also on Office 2007 SP2.
 


 

From: sbee
Posted: Friday, March 05, 2010 3:13 PM
Subject: (Newbie) Authenticate Users via forms

My company is exploring sharepoint and so it looks like a good product on paper worth investing in,cant do a presentaion though because im stuck on authenticating users and management needs to be convinced below is my exact issue....
 
My problem is the following , i want to change the default zone from being a Windows Authenticated Zone to a Forms Authenticated Zone ,thereby forcing the site collection administrator to log in via forms authentication and not windows also the sharepoint users will be accesing the site internally my goal is to effectively replace windows authentication with forms authentication as my company does not have active directory installed.
 
So far i have created an ASP Application that adds the users to the database,the database was created via the .Net Framework Asp tool(Aspnet_regsql),however when i change the default zone to the AspNetSqlMembershipProvider(Forms) and attempt to add my site collection administrator via the Central admistrator, i get the following error "No Exact Match found" . My inkling is that somehow the people picker is failing to read the users from the database but reasearch on correcting that thus far has proved fruitless.
 
I have made the following configurations to the config files and my additions have been as follows  Connection Strings,People Picker,Membership Provider I left out the Role Provider for now as it is optional,i will set it up later .
Attachments
Content Type: Message
Created at 3/8/2010 4:27 PM  by Michael O'Donovan 
Last modified at 3/8/2010 4:27 PM  by Michael O'Donovan 
Feedback