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 / authentication problemsAuto login / authentication problems
Previous
 
Next
New Post
9/13/2012 3:16 PM
 
My goal:
Have domain users automatically log in to the portal with their domain credentials - they shouldn't have to click a login button or anything.
non-domain users can login with a username / password

What I have installed:
OS: win 2008 R2
IIS: 7.5
DNN 6.02.00
Active directory authentication module 5.00.04
application pool I created, .net v2.0, classic pipeline, identity of network service
web site I created that uses the app pool I created.



What it does:
The first time I connect to the site after a reboot, it asks for a domain user / password.
After entering a valid value, it brings the window right back..
After a few tries, I get a 401.1 error screen.
If I close the browser and try again, I get to the default home page.
I can click login and get in with the super user id / pw or I can click windows login and get in with a domain user / pw

If I stop the web site, stop the app pool, then start them both up, I don't get the auto login user request / 401.1 failure (I get the default DNN home page).
If I click on the server in IIS manager and select restart, then try to connect to the site with a browser, I still don't get the auto login failure.
So it seems like once the auto login fails, I have to reboot the server to get it to try the auto login process again.
And I don't know why the authentication fails - I'm giving it a valid domain user / pw.

Any ideas on how to get this to work or where to start debugging it?

Thanks

John

 
New Post
9/14/2012 1:21 PM
 
When you attempt to login automatically it creates a cookie. All you need to do to clear the cookies on your computer to force the auto-login process again.

When you get the pop-up what format are you entering your credentials? It has to be either DOMAIN\username or username@domain. You can't just enter your username. That's just an FYI because we really don't want the IIS pop-up anyway.

To get rid of the IIS pop-up you need to have the site in either your Trusted or Intranet sites list in your internet options on your computer.
 
New Post
9/21/2012 2:58 PM
 

Thanks.

I was going to the site by the ip address.

Apparently things work differently if you hit it by name.

I go the auto login thing working.

Thanks again.

 
New Post
9/21/2012 4:58 PM
 
I don't know if I've ever tried it by anything other than localhost (when developing) or the URL that it's installed to. I'll have to try that to see if I can duplicate what you're seeing.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAuto login / authentication problemsAuto login / authentication problems


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