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 ForumsAuthenticationAuthenticationDNN5 Active Directory DNN_ActiveDirectoryAuthentication - Login FailedDNN5 Active Directory DNN_ActiveDirectoryAuthentication - Login Failed
Previous
 
Next
New Post
3/31/2010 1:47 AM
 

Hi People,

Trying out DNN 5 Pro, wanting to log in users either automatically or by entering their windows credentials (Domain\Username).

Active Directory 5.002 was installed, so configured that in these steps -

Steps:

1) Edited web.config to allow impersonate account with proper userName and password. Set for Forms Authentication

2) From IIS manager set file security of WindowsSignin.aspx to Integrated Windows Authentication only

3) ASP.Net Temporary Files folder was allowed full access to this user (presently this is the Domain Administrator account)

4) Edited DNN_ActiveDirectoryAuthentication from Admin -> Extensions and got Green Signal for Global Catalog / Root Domain and LDAP All OK, 1 domain found.

5) Edited Trusted Sites to add http://localhost andalso http://machinename to try browsing from separate computer

Problem:

All permutations and combination of -

DNN_ActiveDirectoryAuthentication  was tried with both Hide / Show Login Controls along with enabling and disabling the Admin -> Extensions  -> Default Authentication have been tried, always getting

"Login Failed. Please remember that passwords are case sensitive"  no matter what !!! The only account working are the host and the admin account of DNN setup.

Looks like, active directory is not being searched at all. 

web.config Authentication is set as:

 

 Please help! Cannot set AD authentication to work.

 

 

<add name="Authentication" type="DotNetNuke.Authentication.ActiveDirectory.HttpModules.AuthenticationModule, DotNetNuke.Authentication.ActiveDirectory" />

 
New Post
3/31/2010 2:16 AM
 

Hi Again,

Forgot to add one thing to the post, when I browse to http://localhost/dnntest/DesktopModul...

I am greeted with a Object Reference not set to an instance of an object System.NullReference Exception ...

Here is the stack trace ...

[NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Authentication.ActiveDirectory.AuthenticationController..ctor() +71
   DotNetNuke.Authentication.ActiveDirectory.WindowsSignin.Page_Init(Object sender, EventArgs e) +70
   System.Web.UI.Control.OnInit(EventArgs e) +99
   System.Web.UI.Page.OnInit(EventArgs e) +12
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
 

 
New Post
3/31/2010 1:13 PM
 
Couple of quick questions.... what OS is the server running and is the server part of the domain?
 
New Post
3/31/2010 6:39 PM
 

Hi Mike,

I am using my local XP machine service pack 3 IIS 5.1 and local SQL Server 2005. Yes this machine is part of the domain.

Server is Windows 2003, 3 domain controllers - all Windows 2003

Cheers,
Sam

 
New Post
3/31/2010 11:48 PM
 
Hmmm and this is happening on the even when you try to login from the local computer correct? If you go to http://dnn.gmss.org and look under AD Provider Betas there's a file called Website Authentication Testing file. Could you follow the instructions from that and see if it works?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN5 Active Directory DNN_ActiveDirectoryAuthentication - Login FailedDNN5 Active Directory DNN_ActiveDirectoryAuthentication - Login Failed


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