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 ForumsAuthenticationAuthenticationWindows Authentication Disabled. Please contact your administrator. After user logs on on 1.0.3 betaWindows Authentication Disabled. Please contact your administrator. After user logs on on 1.0.3 beta
Previous
 
Next
New Post
3/8/2008 7:43 AM
 

I have set up authentication for a child portal.

The AD setup confirms I can conntect to the AD database.

When a user goes to ..../DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx, they get the Windows Login box.

After loggin in they get:

I assume this is because I have set up authentication for a child portal rather than the main site.

How do I set AD authentication for a child site?

 

 
New Post
3/8/2008 1:09 PM
 

Jonathan, there are some issues with child sites and authentication that I haven't fully been able to work out yet. What OS/IIS version is the server running just to make sure it's not related to the problem?

Okay now onto child portals.I don't remember if I ever tested with the parent portal not having AD enabled and a child portal having it enabled but this is something I'll check over the weekend but if I find that doesn't work I do have a few ideas on a work around that I'll post later if needed (and after I've tested them). What I think might be happening is the following and I'll put it in a quote box just to separate from the rest of the post:

Three or four different core procedures call the OnAuthenticateRequest procedure in the AD code on a page load (global.asax, a couple of the .axd files, etc.). It's been awhile since I last looked at it but, as I remember it, when I've stepped through the the code there was never a clear indication of what was calling the code (ie: how do I know if http://www.domain.com/child is really a child portal and not a sub-page of the main portal?). So when ...../windowssignin.aspx is called it's always referencing the parent site first then the core code later redirects it to the proper portal.

In your case I think it's erroring out because AD isn't turned on on your parent site. There's a couple of ways I can think of to get around it but it depends on how important it is to you that the users automatically login. If it is okay that your users manually login then comment out the <add name="Authentication"...../> line in the <httpModules> section of your web.config. That will stop the provider from attempting to log users in automatically. However they can still login manually by selecting the Windows Login button when they follow the generic login link on the site.

The other way I need to test before I put it out there and I'm not at a location right now where I can easily test my theory (ie: restore the db if I'm really, really, really wrong).

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationWindows Authentication Disabled. Please contact your administrator. After user logs on on 1.0.3 betaWindows Authentication Disabled. Please contact your administrator. After user logs on on 1.0.3 beta


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