Products

Solutions

Resources

Partners

Community

About

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 authentication module fails configuration process when using user credentialsAD authentication module fails configuration process when using user credentials
Previous
 
Next
New Post
1/3/2013 3:29 PM
 

I'm using the following:  Windows Server 2008 R2 Ent. (x64), IIS 7.5, and DNN 7 Community Edition.  I'm trying to configure the Active Directory authentication provider version 5.0.4.  My ultimate goal is to use DNN for an intranet site and enable automatic login for the users.

The most frustrating issue is with the configuration process (Admin>Extensions>DNN_ActiveDirectoryAuthentication).  If I try to use a username and password, the process fails on the "Checking Root Domain" step.  If I DON'T use a username and password, the process appears to complete without errors.  Shouldn't this be the other way around?  It fails even if I use the domain administrator credentials.  I have a suspicion that this issue is also preventing me from getting auto-login to work.

I've read the documentation and scoured the Internet for solutions but haven't found anything useful so far.  Anyone have any ideas about why my config process fails with credentials or suggestion about things to check?

 

 
New Post
1/4/2013 8:55 AM
 
Does the authentication actually work when you don't provide the credentials? Test that and let us know.

Mark
 
New Post
1/4/2013 9:23 AM
 

Yes.  Even though I don't provide the user credentials during the module configuration process, I can manually log in to my DNN site with any domain user credentials via the "Windows Login" tab.

As I was verifying this information, I noticed that I'm now getting the following message:  "401 - Unauthorized: Access is denied due to invalid credentials." on initial visits to my site.  If I close the browser and go back to the site, I don't get that message again.  Also, I still have to log in manually.  This occurred in both IE 9 and FF 17. 

 
New Post
1/7/2013 4:24 PM
 

Update:

I'm not exactly sure what has happened, but I can now include user credentials in the setup process.  I deleted my site to start from scratch and must have done something different during the new install.  Unfortunately, I still can't get auto-login to work.

 
New Post
1/7/2013 5:52 PM
 

Update:

On a whim, I decided to go directly to the Windows Signin page ("http://mydomain.com/mysite/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx") instead of the default page and discovered that automatic login is actually working.  

In order to achieve "seamless" automatic login I had to do the following:

1.  Add the domain name (mydomain.com) to the following areas:

  • IE 9:  Tools>Internet Options>Security>Local Intranet>Sites>Advanced
  • FF 17:  about:config>network.automatic-automatic-ntlm-auth-trusted-uris

2.  Make the signin page ("/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx") the highest priority default document for the site.

  • IIS Manager>find and select site name>Default Document

Is there a way to do avoid the authentication prompt without messing with the browser?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD authentication module fails configuration process when using user credentialsAD authentication module fails configuration process when using user credentials


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