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 ForumsAuthenticationAuthenticationActive Directory authentication problem.Active Directory authentication problem.
Previous
 
Next
New Post
7/31/2012 3:01 PM
 

Hi!

Maybe someone wrote about this - I saw some posts with the same error stack, but I don't fix it with that tips. So I decide post it here. I've installed fresh DNN 6.2.1, then AD Authentication module. When I try to configure authentication on module page (choose AD server, root domain etc), click "Update@? I see this Error stack: 

Error: is currently unavailable.DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.AddADSIPath(String Path, Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootEntry(Path ADSIPath) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetNetworkStatus() at DotNetNuke.Authentication.ActiveDirectory.AuthenticationController.NetworkStatus() at DotNetNuke.Authentication.ActiveDirectory.Settings.UpdateSettings() --- End of inner exception stack trace ---

Uncommenting Impersonation block in web.config not solve the problem. I tried many variations of settings (e.g. dc=domain, dc=com; LDAP:\\domain.com\ (with this variant erorr is different  - FAIL cant find domain server) nothing worked. I think I entered AD information in the module form with mistakes. so for example for domain.com I enter - 

Root Domain - dc=domain, dc=com

User name - domain.com\user (tried just domain without com - same issue)

Password - pass

email - domain@domain.com

default domain - domain.com

I tested it on domain computer, local IIS Express 7.5 with webmatrix. 

I tried many ASP.NET applications with AD Authentication functionality and pointed out this like settings. Maybe need to add OU="blabla"? Tried - same issue.

Please help. Want to use DNN as intranet information and social portal but very important to use AD.

Thank you very much in advance!

 
New Post
7/31/2012 10:25 PM
 
Check the documentation on the providers Codeplex page.. http://dnnauthad.codeplex.com/documentation if you haven't already. For impersonation... did you give it a user for impersonation as per the documentation? Also for your LDAP line it should be LDAP://domain.com (note the change of direction on the slashes and the lack for a trailing slash).

You could also try LDAPBrowser from http://ldapbrowser.com. This will help you sort out whether you can actually read from the domain controller or not.
 
New Post
8/1/2012 12:47 AM
 

Hello!

Of course I read the documentation.

I use the same login as I login to Windows (it has admin rights on this computer). This line - LDAP://domain.com is exactly as You wrote and error is like: 

Accessing Global Catalog:
FAIL
Checking Root Domain:
FAIL
Accessing LDAP:
FAIL
Find all domains in network:
Could not access LDAP to obtain domains info

I Check out domain shema with LDAPBrowser and ADExplorer from sysinternals - it have read access to the domain. I can browse by OU, Users, Computers with this login. 

Maybe user for impersonation don't need to have admin rights?
Maybe need to specify objects in domain schema like: LDAP://Ip_of_domain_server/OU=department,OU=people,DC=domain,DC=com?

Or maybe ned some special setting for the IIS? In my case it is IIS Express 7.5. Need to try in local IIS with settings described in documentation?

Any ideas. Thanks  for answers

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationActive Directory authentication problem.Active Directory authentication 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