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 ForumsAuthenticationAuthenticationProblems with "Extranet" settingsProblems with "Extranet" settings
Previous
 
Next
New Post
9/1/2009 3:46 PM
 

Current Setup:

DotNetNuke 5.1.0
DNN_ActiveDirectoryAuthentication 5.0.2
Server 2008/IIS7
Using forms Authentication with Impersonation
I've installed the IIS6 Compatibility package and followed the steps in the Server 2008/IIS7 thread.  www.dotnetnuke.com/Community/Forums/tabid/795/forumid/89/threadid/316627/scope/posts/Default.aspx

I have the provider set up following the documentation and everything works fine with the "Intranet" settings, meaning it authenticates successfully when using the Windows Login popup box.  Authentication works, roles are syched, etc.  No problems that I've seen yet.

The problem occurs when I comment out the line in the Web.config file (under httpModules) so that it should use the in-page login box.  When I do so, authentication no longer works.  There are no error messages other than the standard "login failed.  Passwords are case sensitive..."  The "Hide Login Controls" box is unchecked, and I am sure to select the Windows Login button when logging in.

Incidentally, I've never gotten a success message when saving the authentication settings in the extension page.  Most recently it's given me the following three errors in this order:

System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.PropertyValueCollection.PopulateList()
   at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
   at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
   at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootForestPath(Path ADSIPath)

System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational.

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Exists(String path)
   at DotNetNuke.Authentication.ActiveDirectory.ADSI.Configuration..ctor()

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

 

Odd that the Intranet method of authenticating works though.  Any help would be greatly appreciated.

 
New Post
9/2/2009 12:43 AM
 

 I'm confused. You say that you comment out a line in the web.config so the in-page login box. So you want your users to login manually and not automatically correct? Are the accounts getting created when you login via the IIS box? How long are your passwords?

What type are you using for Authentication IDelegation, None, Secure, etc)?

 
New Post
9/2/2009 10:31 AM
 

So you want your users to login manually and not automatically correct?

Correct.

Are the accounts getting created when you login via the IIS box?

Yes, the accounts are being created and roles are getting synched.

How long are your passwords?

The few accounts I was using were about 5 characters.  Is there a length requirement?

What type are you using for Authentication IDelegation, None, Secure, etc)?

I'm not sure what setting that refers to.  I'm using forms Authentication with Impersonation if that's what you mean.

Thanks for the reply.

 

 
New Post
9/2/2009 1:43 PM
 

By default DNN has a minimum password length of 7 characters. You can adjust this in your web.config to set it to your domains minimum requirement. The setting is the web.config is MinPasswordLength I think.

As for the setting. I meant when you went to the settings for the AD provider. There's a drop down for Authentication Type. By default it's set to Delegation and I was wondering if you'd changed that.

 
New Post
9/3/2009 2:12 PM
 

I set the minRequiredPasswordLength to 1 and received the same results.

The authentication type I'm using is Delegation.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationProblems with "Extranet" settingsProblems with "Extranet" settings


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