View Complete Post
I have successfully enabled and set up FBA (Forms Based Authentication) on my SharePoint 2010 Foundation server. The thing is that I need to customize the look and feel of the login page. I have successfully customized the page (and master page) to look the way I want, however, when I try to log in, I get the following error/message on the page: "Forms Based Authentication on classic Web applications has been deprecated".
What I've done: Made copies of /_layouts/simple.master and /_layouts/login.aspx and renamed the copies. The markup in the master page is MUCH simpler than the original, but I've kept all the ContentPlaceholders that I don't use (most of them) in a hidden <asp:Panel at the bottom of the page.
I've changed the web.config file: <authentication mode="Forms"> <forms loginUrl="/_layouts/loginCustom.aspx" /> </authentication>
So, I'm not getting any errors on the page until I try to log in. When I use the default settings (login.aspx and simple.master) it works just fine (but damn that page looks ugly!).
Does anyone know what I might be missing?
Update: I believe the reason it doesn't work is because my custom login aspx is not part of the Claims Based Web Application (because it's sitting
I'm trying to figure out how to setup FBA in SharePoint 2010. I know that FBA is now just a subset of Claims Based Authentication, but I'm confused by some of the different approaches that I've seen on some technet blogs:
Having seen the two, one doesn't setup a SQL while one does. Both are vague in the user account that is used to manage the FBA users. I'd like to get some clarification if that's possible. Thanks in advance!
I have the following implementation and I'm sure there is an easy way to do what I want to do but I can't figure it out.
1. I use forms based authentication to authenticate to my site
2. I use active directory to authenticate the users
3. I use the Allow Users="xxx" tag to authorize the users limited to the list that can access my site. (e.g.. even though Mary is an AD user she can't access my site unless I put her credentials in the allow users tag in the web.config file)
All is working well but I want to move the users access list (e.g.. <allow users="john" />" from the web.config to a database table so that I can create a user maintenance page for my admins to add and delete user access. For the life of me I can't figure out how to do this and I can't seem to find an article on it either. I'm sure I'm just not looking for the right thing, so help is greatly appreciated.
Here is my web.config file..
<configuration> <connectionStrings> <add name="DBConnectionString" connectionString="Data Source=PRIMSRV;Initial Catalog=MAINDB;Persist Security Info=True;User ID=svc.Test;Password=password
I am using sharepoint2010 forms based authenticaion (claims based) configure all the web.config files and its working fine.Now I want to change this applicaion to windows authentication (claims) what
are the things to follow to change the application to windows and vice versa.I refer few links but they are referring from classic to claims and many other things not my req..!
I have a web-application that is set to windows-authentication and is created as anonymous. This is at default zone. I want to change this to forms based authentication.
I tried extending web-application and creating new zone as Extranet but it is asking me to specify the url (within load-balanced url) that should not be same as the url of the default zone url. Dont' know why. Please suggest.
But for now, I had a question. If I modify the default zone to be forms based, will it cause any problems? I am assuming that this will be default for any type of user (internal, external etc) ? Please let me know.
Also as far as web.config changes (considering changes to default zone ), is it fine if I modify web.config of this site plus the central admin web.config? If there are another 5 web-applications (that are totally different but reside in same farm),
do I need web.config of those web-application also?
Our goal is that this website (even when accessed internally) will be through form-based authentication only. So
I have a strange problem, I have configured the forms based authentication using WSS 3.0 in server 2008 m/c connected with one of the sql server in the farm and i am using iis 7.0.
During this i omitted any role provide options since i dont need it.
I placed the connection string and configured the web application with the forms mode and also provided the membership provider.
As soon as i refreshed the page, i got the log on screen where i entered the credentials that i have configured using the asp.net configuration tool.
Here i could not log on to the share point site even i enabled the anonymous access.
To set the site collection administrator,i have modified the machine.config with the changed connection string.still no use i could not browse the users from the FBA store to add.
please share your ideas why i was not able to browse and add the users to the share point even though i have modified the machine.config file to point the FBA database.I havent seen any error logs relavant to this.
sample connection string:
When using forms based authentication in Sharepoint 2010, suppose user is logged in with username "admin" and our custom membership provider name is "FBAProvider"... After logging in with this account, logged in user name is displayed like "i:0#.|FBAProvider|admin".
How can make it display as it should be like just "admin"?
Thanks in advance,