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 ForumsAuthenticationAuthenticationAD Users canAD Users can't login
Previous
 
Next
New Post
12/16/2009 11:30 PM
 

I'm not sure why the information isn't getting written to the PortalSettings table. I've tried on numerous installs without any problems. You could try manually entering the information in the tables. The default domain field in the PortalSettings table is AD_DefaultDomain.

My other question, seeing as domain\username was failing is.... How long are your passwords generally?

 
New Post
12/18/2009 6:08 PM
 

I finally gave and and downloaded the source version of the AD, and traced the problem down to the Utilities.vb file.

This may be a specific issues with the way my company has implemented Active Directory. and I have only a little experience with Active Directory, so my understanding of these fields is very limited.

However, the problem seems to occur in the method GetUserEntryByName, there is a second filter on line 311

<code> .AddFilter(Configuration.ADSI_ACCOUNTNAME, ADSI.CompareOperator.Is, TrimUserDomainName(Name))</code>

That caused the userEntries.Count = 0.

Tracing that back I ended up in another method GetRootDomain the second line

<code> Dim rootDomainFullPath As String = AddADSIPath(adsiConfig.RootDomainPath) </code> 

was the cause of my problem.

My company uses a RootDomainPath = "DC=<CompanyDomain>,DC=net" and a ConfigDomainPath =  "DC=<CompanyDomain>,DC=com"

Note the difference, one has a "net" and one has a "com"

I needed a compairson with the "com", which filtered down to the correct record, but it was using the "net" version and returning no results. A change in that line of code made everything in the Active directory module work for me.

I just thought I'd pass the information on.

 
New Post
3/31/2010 6:33 PM
 

I was experiëncing the same problem. Since I did find out what's causing it and since it so seems the solution isn't available yet on this forum (or anywhere else on the internet, for that matter), I'm kicking this topic back up, for those stumbling upon the same problem in the (near) future.

When the AD provider is freshly installed and you try to configure it whilst not setting a "Password" ("User Name" not even necessary), it doesn't create an "AD_AuthenticationPassword"-entry in the "PortalSettings"-table. When that entry is not around, the AD provider doesn't, for some reason, ever read and use the "AD_DefaultDomain" and "AD_SubNet" entries. This is strange, since it DOES change those fields to new values, each time the AD-providers' settings are changed in DNN. 

Well anyways; now that we know the cause, the solution is easily guessable; to enter a user password in the "Password"-field, then update. It doesn't matter whether or not you enter a valid password for the configured domain. Heck; I'd even advise you to use a random, bad, password. That way, the hash stored in your database is useless to people with bad intentions, in case someone like that ever finds his/her way into your database. Well anyways; after the update, it generates the missing "AD_AuthenticationPassword"-entry, causing the "Default Domain" and "Auto-login IP Address"-fields to work as expected  

You may want to fix this in your next AD-provider version, Mike. It's obviously a bug

 
New Post
3/31/2010 11:43 PM
 
NoBody, what version of DNN did you run into this with? I haven't tested the latest 5.3.1 but on previous versions I've never had a problem getting anything to stick.
 
New Post
4/1/2010 5:13 AM
 

I'm currently working with DNN 5.2.3, combined with AD-provider 5.0.2.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Users canAD Users can't login


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