Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN 6.2, AD 5.0.4 & autologinDNN 6.2, AD 5.0.4 & autologin
Previous
 
Next
New Post
6/21/2012 10:40 PM
Accepted Answer 
I found the problem (and will also post it to the question your asked in the community exchange).

Somewhere, and I didn't catch it in the late 6.2 betas/RC releases, but the core introduced their own FormsAuthentication httpModule. I've just discovered this but wanted to get an answer out ASAP and I haven't talked to any of the core engineers yet. What I think their FormAuthentication is for is the additional authentication types available (Facebook, Google, Twitter, New LiveID, Standard Login).

However, the AD provider also has a FormsAuthentication type that is needed for sites to run under the Integrated Pipeline that was written by, at the time, the IIS 7.0 project manager.

So, what's happening is on upgrade the AD provider's FormsAuthentication is getting overwritten by the Core's FormsAuthentication which is why you're just getting redirected to the login page.

The fix? Until I can either try to decompile the FormsAuthentication .dll given to me or I can talk to someone in the core code team and find a work around, at this time the only fix is to change the pipeline mode on your site to Classic (either Classic .NET AppPool or ASP.NET v4.0 Classic). I did try just re-installing the provider and that worked for AD logins but I couldn't logon any longer with standard DNN accounts.

My apologies to everyone for this. When the new providers were demo'd at a team meeting I asked if they'd break the AD module and was told they shouldn't. In my testing of the betas and RCs I was crunched for time and I only tested fresh installs and not upgrades so I missed this breaking change. I take full responsibility for this screw up and will try to come out with a fix as soon as I can.
 
New Post
6/21/2012 11:31 PM
 

Thanks Mike for the quick response. I'll give changing the pipeline mode a try or do what I suggested above.

I did try the reinstallation as well, but had the same result as you.

Hope it's not a biggie to find a fix - if you ever need any help testing in different environments let me know. 

 
New Post
6/22/2012 2:38 AM
 
Tanks for your feedback Mike, hope it will be easy to solve.
Wayne, if you can use autoconnect with success in classic mode I would know how do you do (can achieve it on my side).

Jean-Baptiste Bouillet
Developer - Aricie
 
New Post
6/24/2012 6:53 PM
 

After discussing with a couple of the engineers it appears that their FormsAuthentication line is not needed (and will be removed from the upgrade script in, hopefully, 6.2.1) so replacing 

<add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" preCondition="" />
with 
<add name="FormsAuthentication" type="Mvolo.Modules.FormsAuthModule" />
in the section of your web.config is all that is needed.

Wayne, I'm not sure why I couldn't log on with my standard accounts but I tried the process again today (thanks to VM snapshots) and was able to login with the standard account.
 
New Post
6/25/2012 3:17 AM
 

Hi Mike,

in fact in the system.web there is the system.web.security.formsauthenticationModule (so for IIS6) but in the system.webserver there already is the <add name="FormsAuthentication" type="Mvolo.Modules.FormsAuthModule" />.

Mvolo module is from dnn core or from dnn ad provider?

Even after cleaning the system.web section, autologin doesn't work anymore on my side. As explained in the tutorial, I select Anonymous+basic authentication for the website and for windowssignin.aspx I select Form+Windows Authentication.

I also tried to disable Anonmous at the side level and I get 401 error. If I apply windows authentication on all site I'm logged in but cannot logout to use dnn users.


Jean-Baptiste Bouillet
Developer - Aricie
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN 6.2, AD 5.0.4 & autologinDNN 6.2, AD 5.0.4 & autologin


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out