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 ForumsAuthenticationAuthenticationAuto-authentication doesn't work all the timeAuto-authentication doesn't work all the time
Previous
 
Next
New Post
9/27/2012 7:54 AM
 

Hi.

I'm having the issue where the auto-authentication isn't working all the time.  It will work if I access windowssignin.aspx and bounce me back to my intranet home page but obviously I don't want to always do this. 

My DNN install is 6.1.1, AD module is 5.00.04 running in Windows Server 2008 and II7.  The app pool is titled "Dotnetnuke" using classic pipline mode in .net v4.0.30319.

At the root level in IIS, here's what I have enabled under authentication:

- Anonymouse authentication
- Forms authentication

Here's what I have enabled under authentication for windowssignin.aspx:

- Forms authentication
- Windows authentication

When looking at authentication on windowssignin.aspx, it states in the top-right corner of IIS:

"Challenge-based and login redirect-based authentication cannot be used simultaneously"

Below that is another message:

"This feature has been locked and is read-only"

The AD account being used has full rights to the install folder as well as the .net temp folders under v2.0 and v4.0 and I added them as a local admin on the server.   Same results.  I can log in manually using login.aspx or get logged in using windowssignin.aspx.

What do I need to do to get the site to auto-authenticate?  I see some notes about the app pool mode but didn't want to make any changes until I knew how it could impact my site.

Thanks,

Mark

 
New Post
9/28/2012 8:13 AM
 
Not making a ton of progress although changing the authentication mode from forms to windows does auto login the user. However, I need to be able to log out from my AD account so I can log in as the host user. How can I accomplish this?

Thanks,
Mark
 
New Post
9/28/2012 10:31 AM
 
From your first post: Can you clarify what you mean but it doesn't work all the time? An example of the steps you're going through when it doesn't work would be great.

From your second post: Where are you setting the authentication mode to Windows? On the whole site or just WindowsSignin.aspx?

 
New Post
9/28/2012 12:39 PM
 
Mike,

The social bar - sometimes it'll say my name pulled from AD, other times it won't. When not auto-authenticated, it give me the option to login. If I use the login page, It accepts my network credentials and then I'm OK but I want the auto-authentication.

I was speaking with another developer in my area and was explaining how it always works on my local (dev) copy of DNN. It's accessed via a link using http://localhost/dotnetnuke. He said something similar happened to him where the cookie doesn't state the domain and it causes an issue if set on the dev site and I attempt to access the live/production site.

To test this, I cleared my cache and cookies, went straight to my live site and it seemed to work although I was on someone else's PC ealier today and it didn't. That may have to do with a setting on that PC, like the site not being listed in IE as an intranet or safe site. More testing should help isoloate on other PC's and I'll do that shortly.

It's worth noting that I seem to be the only person experiencing this although I'm the only person using the host account. However, I haven't tested this with more than about a dozen people and want to be sure it works properly before launching my new intranet.

About your second question - originally I only set windowssignin.aspx to that but also did it to the entire site from IIS but it didn't seem to make any difference.

Thanks,
Mark
 
New Post
9/28/2012 4:31 PM
 
Is this happening at times when you've just logged out as the Host user? Or within an hour or so after you've logged out with your domain account?

BTW you should only have the permissions set on WindowsSignin.aspx. Not the whole site.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAuto-authentication doesn't work all the timeAuto-authentication doesn't work all the time


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