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 ForumsAuthenticationAuthenticationOptional Windows AuthenticationOptional Windows Authentication
Previous
 
Next
New Post
11/13/2007 2:48 PM
 

I am trying to configure my site to allow users to visit the site publicly without requiring any sort of login. But I want to allow Windows Authenticated users from my company's staff to login using Active Directory credentials and allow certain people to edit certain content.

I've configured the Windows Authentication but now when I visit the site I receive the Windows popup login dialog. How can I avoid this and only require login when the Login link is selected? Currently I have turned off Anoonymous authentication only on the WindowsSignin.aspx file in the DesktopModules/AuthenticationServices/activeDirectory folder.

Thanks!

 
New Post
11/13/2007 3:33 PM
 

Ack! Please disregard. I had to turn off Windows Authentication for the site and that fixed it.

 
New Post
11/13/2007 4:29 PM
 

It did but it probably didn't. Leave authentication turned on but comment out the <add name="Authentication".... /> in your web.config. That will stop the Windows Login box from showing up for external users. 

With that line commented out and when the user clicks the Login button they'll get two options, DNN Login and Windows Login. AD users select Windows Login and enter their credentials (Domain\username) and their password to get logged in (unless you implement this script (http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/89/threadid/60815/scope/posts/Default.aspx) in the AuthenticationServices/ActiveDirectory/Login.ascx. If you're only going to allow AD users to login then you can disable the DNN signin (note: make sure to promote an AD account to SuperUser status in the Users table first). Then only the Windows Login box will appear.

The next version will have an enhancement that allows internal users to be logged in automatically but external users browse normally.

 
New Post
11/14/2007 11:43 AM
 

Yea, the login problem cropped back up. I followed the instruction about commenting the line in the web.config and that fixed it fixed it. I also have no need for the DotNetNuke auth. at this time and turned it off (after promoting an account as you mentioned) and I think things are looking great. I'll look forward to the update that auto-passes credentials.

Thanks Mike, and thanks a ton for the fast responses.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationOptional Windows AuthenticationOptional Windows Authentication


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