Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  Optional Windows Authentication
Previous Previous
 
Next Next
New Post 11/13/2007 11:48 AM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Optional Windows Authentication 

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 12:33 PM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Re: Optional Windows Authentication 

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

 
New Post 11/13/2007 1:29 PM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: Optional Windows Authentication 

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 8:43 AM
User is offline Rob
31 posts
www.clarksmith.biz
10th Ranked


Re: Optional Windows Authentication 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  Optional Windows Authentication
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com
Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP