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 ForumsAuthenticationAuthenticationHelp with Windows AuthenticationHelp with Windows Authentication
Previous
 
Next
New Post
7/16/2009 10:42 AM
 

Hi there - I hope you guys can help me as I'm slowly pulling my hair out here!!!

I'm currently running a portal in DNN 4.9 on IIS 5.1 with XP SP3, I'm building a test Intranet to showcase this internally to try and allow further use of your solution. The portal itself is finished but I originally just used forms authentication and now want to use windows authentication.

I've installed both 1.00.6 which didn't work and attempted 1.00.4 of the AD connector required. Both install without any errors but when I go to complete the authentication settings I receive the following error:

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 ---

Now having read the guide with the package and searched forums I'm totally lost?! I've looked in to altering the web config and stop forms authentication then use the impersonate switch with windows authentication. This is where I'm starting to get lost . . .

Using the above setup I will not have successfully completed the authentication settings for the portal. I've performed the necessary security modifications in IIS for WinsignIn.aspx and when you browse to portal the site appears successfully, but you appear to be logged in as a 'donut' user and I can't administer the site?! Now has the authentication worked??? In the SQL table I can’t see any logged in users??

If the authentication hasn’t worked how am I supposed to log in using the impersonate switch then re-attempt to complete the authentication settings with access to the admin tools??

I have tried using the windows authentication setup and altering an existing dummy user in SQL to match a domain account and set them to a Super User – but again no joy??

Please can someone help give me some direction!!!

 

 
New Post
7/16/2009 11:17 AM
 

Impersonation is the problem but it looks like you may be having issues getting it implemented. By reading your post I think where things may have gone sideways on you was when you switched from forms authentication and switched to Windows authentication in your web.config. You don't need to use Windows authentication in order to use impersonation. Just uncomment that line as per the 01.00.04 users guide (http://www.dotnetnuke.com/Development/Forge/ProviderAuthentication/Downloads/tabid/852/Default.aspx).

 
New Post
7/16/2009 12:59 PM
 

Thanks for the prompt reply Mike,

Indeed you were bang on, with the impersonation line being sat next to the windows authentication code I assumed the 2 went hand in hand! As you rightly say when I impersonate with a user that has the necessary rights it connects! We have progress!!!

The next issue appears to be logging in . . . the login window now shows both standard and Windows Login options. When you attempt to use any existing Windows  accounts they fail to log in? Having typed this I'm sure I've simply missed a step, so apologises if I should have read further!

 
New Post
7/16/2009 1:31 PM
 

On the Windows login option how are  you entering your username? By Domain\User or just User? How long are the passwords (roughly)?

If you're not using the .06 release of the provider you HAVE to use Domain\Username to login. If you're using the .06 version you can get away with using just the username IF you've set the default domain in the settings.

Password by default have to be a minumum of 7 characters in DNN. This can be changed in the web.config if your company requires a lower character count.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationHelp with Windows AuthenticationHelp with Windows Authentication


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