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 Login or Auto Sync, but not bothAuto Login or Auto Sync, but not both
Previous
 
Next
New Post
8/2/2012 5:46 PM
 

I am trying to get a basic auto sync and login integration with AD working on a new install for my intranet, but for some reason I can either have the site auto login users or auto sync from AD, but not both at the same time.  Below are the specifics:

Server 2008 R2
DNN: 6.2.1
AD Authentiation: 5.0.4
IIS: 7.5
AppPool: Classic

I have configured the AD Module as per the documentation.

In IIS, if I have enabled only Windows Authentication and NOT Forms Authentication, then for users with existing accounts in DNN, the auto login works just fine.  However, users who do not have accounts end up in an endless loop and are not able to login - no accounts are created automatically.

If I enable both Windows and Forms Authentication, DNN does not automatically log users in.  If existing or new users click Login, they are able to login with no issues.  New user accounts are created when the new user logs in for the first time.

Basically, I'd like the system to automatically log in users and created accounts if they don't exist.

I know there are many posts on this, but I have not been able to diagnose this specific problem through my research.  Any insight would be much appreciated.

Thanks,

Craig

 
New Post
8/2/2012 7:14 PM
 
Hi Craig. Where in IIS did you enable only Windows Authentication? By what you describe it sounds like you did if for the whole site and not just for WindowsSignin.aspx.
 
New Post
8/2/2012 7:30 PM
 

Thanks for the quick reply.

Yes, that's correct, I did it for the whole site because when I try to do if for just the windowssignin.aspx file I receive the following error:

web.config
Line number: 450
Error: This configuration section cannot be used at this path.  This hapens when the section is locked at a parent level.  Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false"

I cannot find anything in the web.config that refers to an override.

Thanks,

Craig

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAuto Login or Auto Sync, but not bothAuto Login or Auto Sync, but not both


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