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 ForumsAuthenticationAuthentication"Update Settings" causes error"Update Settings" causes error
Previous
 
Next
New Post
9/5/2008 3:53 AM
 

Hi, trying to setup AD using v1.0.4 on DNN 4.8.4

When clicking the Update Settings on the Authentication page i get;
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.Settings.UpdateSettings() --- End of inner exception stack trace ---

I have been through the instructions several times and have also tried the impersonate settings which causes more problems. What domain\username combination should i use for the imporsonate - should they be the same as the user i'm using in the AD Authentication settings? The server is a DMZ and not on the same domain as the AD server so can i just create a user on the DMZ and use those details? They have opened port 389 and tested that the DMZ can see the AD server using Softerra LDAP Administrator and this works ok.

Would really appreciate some pointers so i can get this working.

Thanks in advance.

Dan.

 
New Post
9/5/2008 10:39 AM
 

You can use any user for impersonation as long as it has access to read for the AD which I don't think a user on the DMZ is going to have.

What kind of problems did you have when you tried to use impersonation? One thing that I don't think is in the documentation (and will be if I get time to update it over the weekend) is that the user you use for impersonation has to also have modify permissions on the C:\Windows\Microsoft.NET\Framework\v2.0.50727\TemporaryNETFiles (I can't remember the exact name of the directory at the moment).

 
New Post
9/5/2008 1:15 PM
 

Hi, with the user for impersonation as the DMZ is not part of the AD domain i wasn't sure what user to put in here, does this user have to exist on the DNN host machine? if so i guess we can't use it to query the AD server though.

When i tried impersonatio without specifying a user, DNN stopped working as it couldn't then login to the database (SQLExpress) - i assume it must affect this as i don't specify a user in the connection string.

In the settings for AD, if i use the settings as your example, e.g. dc=domain,dc=com then how is it going to know where the AD server is as it's not in the same domain and network? We tried putting in the full domain for the AD server and it at least did the diagnostics but all failed. e.g. ad.domain.com

Reading in the forum, there was mention of different ways in which to enter the root domain and some worked better than others - could someone expand on this? I see someone modded some code which handled the name better and constructed them in the correct way - is this mod available?

I'm new to AD integration so sorry if i'm covering old ground here.

Thanks for your help.

 
New Post
9/5/2008 11:24 PM
 

Unfortunately you may not be able to get it to work. Everything I've read about ADSI authentication (what the provider is based on) has stated that the server has to be a domain member. I suspect that's because you can't add a user to a computer that belongs to a domain when the server can't see the domain.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthentication"Update Settings" causes error"Update Settings" causes error


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