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 GroupsAD Groups
Previous
 
Next
New Post
7/11/2008 3:19 PM
 

I have a DNN portal set-up with AD authentication.  Users are not automatically authenticated they must enter their logon information.  The majority of users can log on fine, but there are a handful whose logon fails.  I have checked their AD accounts and everything appears to be in check with those.  I have this portal authenticating against an AD Distribution group.  could this be the problem?  Should I be using a Security Group instead?  Any other possible issues?

TIA

 
New Post
7/11/2008 4:25 PM
 

I just spoke with one of my Network Administrators and he said the group I am using is actually a universal security group, he has just titled it a distro group for common language purposes.  So, now I'm out of possible reasons for the problem. 

I looked in the DNN event viewer and did notice this General Exception around the same time as the failed log ons.  I don't know if this is helpful or not though...

InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.GetUser(String LoggedOnUserName, String LoggedOnPassword)

Any ideas would very helpful as I am really needing to finish the roll out for this portal!

 
New Post
7/11/2008 5:23 PM
 

There could be a couple of things. First is password length when logging in manually. By default DNN expects seven characters so if their passwords are shorter then you need to adjust the minimum password lenght in your web.config. Second, I would check the DNN Event Viewer to see if you get any errors logged when they try to login. The last is that they could just be logging in wrong. It could be something as simple as user a / instead of a \ between the domain and their username.

You haven't got it authenticating against a distribution group and the provider authenticates against the domain as a whole and not against particular groups. Where you will run into problems is if you want to do Role synchronization. Because of bug fixes, etc. I had to change the way role synchronization was done and distribution groups will not be picked up. Only security group membership will.

 
New Post
7/11/2008 5:34 PM
 

It looks like when the user is attempting to login there's no user information being passed back from the Active Directory. Are you using impersonation in your web.config at all? I cover how to implement it in the documentation.

 
New Post
7/11/2008 5:46 PM
 

Thanks for the information!

I will look at the impersonation documentation.  But, I'm really stumped as to why only a few people are having issues and not everyone trying to login!

I changed to web.config settings to mirror our AD password requirements. 
I have a script set-up to catch and correct incorrect domain syntax in the username as well as autopopulate the domain if it is left off. 
I have also walked each indvidual through each step while I'm watching and am very confident it is not user error.  
I even had them try different machines to make sure it wasn't a cache issue.

I'll work on the impersonation and see if that helps!

Thanks again!

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD GroupsAD Groups


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