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 ForumsAuthenticationAuthenticationMulti-Domain ProblemMulti-Domain Problem
Previous
 
Next
New Post
1/28/2010 1:22 PM
 

I know from searching though this forum that Mike doesn’t have access to a Multi-Domain setup with which to test the provider, so I’m relying on some of you other Active Directory professionals for help.

I have a fairly simple forest with two domains (DomainA & DomainB). The domain and forest functional levels, until recently, were at the lowest Windows 2000 mixed mode with no Universal Groups. I have since updated both domains and forest functional levels to Windows 2003.

Here are the other pertinent system specs

Web Server and DCs are all Windows 2003
DomainA was the first Domain created
Web Server is a Member Server of DomainA
DNN version 5.2.2
AD Provider 5.0.2

The Authentication Provider installed with no errors and after setting it up I got a green check and the two Domains were visible. No Default Domain is set.

I also commented out the <add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory . . . line because I don’t want the Windows Authentication Popup as suggested in the Documentation.

Using the DNN Account Login Module (not the Windows Authentication Pop-up) I can login to as DomainA\username but not DomainB\username.

When I try to login to DomainB I get the following error in the Event Viewer

AssemblyVersion: 5.2.1
PortalID: 0
PortalName: SDINet
UserID: -1
UserName:
ActiveTabID: 58
ActiveTabName: Login
RawURL: /Login.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://sdinet2.DomainA.com/Login.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7 (.NET CLR 3.5.30729)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ce1eb525-517d-49b4-8027-534af48e3623
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword)
Source:

Impersonation doesn’t matter. I’ve tried it both ways, commented and uncommented with a user from DomainA.

Why won’t the DNN Account Login Module work for DomainB

 

 
New Post
2/8/2010 6:12 PM
 

Bump, please.

 
New Post
2/10/2010 1:50 PM
 
What happens if you set the default domain to DomainB and then log in with just and it's password (instead of DomainB/)? Also, I think your webserver also needs to be added as a member to DomainB.
 
New Post
2/11/2010 10:16 AM
 

I'm not sure what I did, but it's now working with both domains.

One strange thing, though.  When a user from DomainB logs in, thier Profile isn't created correctly.  It substitutes the Username for First Name and Domain Name for Last Name.  So, for example, instead of "John Doe", I see "jdoe domainb".

That definitely looks like a bug. 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationMulti-Domain ProblemMulti-Domain Problem


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