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 ForumsAuthenticationAuthenticationActive Directory Autologin Working/NotWorkingActive Directory Autologin Working/NotWorking
Previous
 
Next
New Post
5/18/2011 5:45 PM
 
I set up the Active Directory

and then currently these are what I have
Apllication Pools -- Classic
For the website, Authentication Settings are

Anonymous Authentication -- Enabled
ASP.NET Impersonation -- Enabled
Basci Authentication -- Disabled
Forms Authentication -- Enabled
Windows Authentication - Disabled

And for WindowsSignin.aspx

Anonymous Authentication -- Disabled
ASP.NET Impersonation -- Enabled
Basci Authentication -- Disabled
Forms Authentication -- Enabled
Windows Authentication - Enabled

Just 2 days everything seemed to be fine, I could get the userlogged in automatically.

Was trying to add multiple domain authentication, as a result messed up something. Broke everything, then tried to get back what it was two days.
I am almost there
When I set my start page as Windowssignin.aspx aand run the site, everything seems to be fine.
But if I set my start up page as Default.aspx, it initially logs me in automatically , but once I logout of the website and close th ebrowser and again run the website, I dont get automatically logged0in.  But if clear the cookies (temporary files) and then re run the site, it automatically logs me in.

I wonder if the settings are somehow being saved.
I dont have to clear any cookies if I set my default as Windowssign.aspx

Few other settings in my web.config are

<identity impersonate="true" />

<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />


the following line has been commented out

<!--<add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" />-->

I am pretty sure all these were the same when everything worked fine, Can anyone please let me know what I am missing.

Thanks in Advance






 
New Post
5/18/2011 10:41 PM
 
If you wait between a 1/2 hour to an hour and try again you'll get logged in. This is a by-product of IIS creating it's own cookie that expires at a random time of between the times mentioned before and prevents the redirect to WindowsSignin.aspx.
 
New Post
5/19/2011 8:14 AM
 
Thanks for clearing that Mike.
Is there any workaround that?
 
New Post
5/19/2011 8:04 PM
 
The only way to do it is to modify the code so that it resets immediately if a person logs out BUT if that was done then you'd never be able to log out and login as a different user (e.g the DNN host or admin user). And then I'd have the forum filled with posts from people complaining that they're not able to logout.
 
New Post
5/20/2011 8:28 AM
 
Thanks for the reply Mike,from what you have said I think for now I will leave it as it is!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory Autologin Working/NotWorkingActive Directory Autologin Working/NotWorking


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