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 ForumsAuthenticationAuthenticationAD Provider not working as expectedAD Provider not working as expected
Previous
 
Next
New Post
9/29/2010 9:16 AM
 
First, my setup:
Windows 2008 R2 Standard / IIS 7.5
DNN v5.5.0
AD Provider v5.0.2
I set the managed pipeline mode to Classic right now (as mentioned in user guide for IIS 7), but I've tried both modes, it doesn't seem to make a difference.  I've done everything else specified in the user guide.
AD Authentication is enabled, default authentication is still enabled as well.  The authentication type in AD settings is Delegation.

The provider appears to be working as far as looking up a user given certain credentials, creating the user in DNN, and logging the user in.  However, I can only get this to work if I go directly to http://<servername>/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx.  So, since this page is set not not allow anonymous, it is presenting a challenge response to the browser and it's then doing its thing.  What I expected though, was as soon as I bring up http://<servername> it should redirect to the windowssignin.aspx page, create the user, log the user in, and redirect back to the home page.  Is that not how it's supposed to work?  If it's not how it's supposed to work by default, how would I get it to do that? 

I've seen conflicting information about impersonation being required and something about an iis6 metabase compatibility feature for Server 2008 / IIS 7.  The actual authentication seems to be working for me without any of those special requirements, even managed pipeline mode seems to work the same as classic, it just doesn't do an initial redirect to the WindowsSignin page.  I wondered if some of those requirements have been eliminated with later versions of the provider or DNN.

Any insight appreciated.

Thanks,
Chris
 
New Post
9/30/2010 8:52 AM
 
Ok, it looks like I misspoke about one or two things.  Authentication does work exactly as I expected if you don't logout on purpose, and I do still have to have the pipeline mode set to Classic.  I believe the actual windowssignin.aspx page works in both modes, but the redirect doesn't happen unless I'm in classic mode.

I think this may have been asked before, but why if you have a "logged out" cookie does it not log you back in when you close and reopen the browser?  If I logout, I have to go back to login, click the windows button, and sign in with my network username / password.  I'd like it to work that if someone logs out, closes the browser and reopens, it logs them back in.  I wonder if I can change the cookie persistence settings.  On the other hand, maybe I can just hide the logout link.

We should really try to flesh out the Authentication area of the wiki.  I can confirm that with my setup the only think I needed to do was set the pipeline mode to classic.  No other Server 2008 / IIS 7+ tricks necessary.

Thanks,
Chris
 
New Post
9/30/2010 10:52 AM
 
You can't set the persistence or timeout on the cookie that IIS writes. It's a random variable that lasts up to an hour. You could in .NET 1.0 I believe but not since then.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Provider not working as expectedAD Provider not working as expected


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