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 ForumsAuthenticationAuthenticationCannot connect to ADCannot connect to AD
Previous
 
Next
New Post
7/9/2008 10:26 PM
 

What do I need to do in order for DNN to recognize my AD cerdentials automatically?
At the moment I have to login with my AD credentials. through the login link.

 

thank you.

 
New Post
7/10/2008 12:41 AM
 

Admin roles have to be set manually as the code ignores that AD group so as to prevent unwanted/unnecessary admins from being added. Host is another matter and the way I've been able to handle it is to manually go into the database, find the user (me) in the Users table, and set IsSuperUser to 1 or True (I wouldn't be surprised if there was another way but this is quick and I've never really looked into it.

Now that you've got both logins working (DNN and AD) you can disable the DNN login but leave the AD login enabled and Hide Controls unchecked as a backup way of getting into the site. There's also a script that can be added to the Login.ascx so that your users don't have to enter the domain name and I'll post the link tomorrow morning when I get to work (if I don't remember then post give me a nudge in this thread as a reminder).

Now onto getting users to be automatically logged in... Is the following line uncommented in the <httpModules> section of your web.config (should be the last line in the <httpModules> section)

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

If it isn't then uncomment it and try it. If it is then there's a couple of things you can try. One is to log out of the site and leave it for an hour or two (browser closed) and then hit the site and see if you're logged in. Or you can close your browser and then go into your Internet Options through the control panel on your computer and delete all cookies and cache files and then hit the site. If that's still not working then there's one other thing to try. Add a Text/HTML module onto a page and put the following link into it:

http://<yoursiteurl>/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
Logout and then try that link and see if you get logged in. If you still don't get logged in then we need to start looking at your DNN EventViewer to see if we can't narrow down the problem.

 
New Post
7/10/2008 10:34 AM
 

The script can be found here. It works but the location of the file is now under DesktopModules/AuthenticationServices/ActiveDirectory/Login.ascx.

 
New Post
7/13/2008 4:49 PM
 

Thank you Mike for everything.
I implemented your advices and now the authentication works well!

Thank again.
Very much appreciated.
Roy

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCannot connect to ADCannot connect to AD


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