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 ForumsAuthenticationAuthenticationDNN Roles and nested Groups?DNN Roles and nested Groups?
Previous
 
Next
New Post
9/19/2006 8:18 AM
 

Hello community,

does anybody know an solution to use nested AD-Groups within DNN?

Thanks

 Thomas

 
New Post
12/8/2006 3:35 PM
 
I cannot see a resolution to this problem anywhere, so I have done a little digging around in the source code. I do not have a solution, but I have identified what I think is the offending line of code.
In the file library/providers/authenticationproviders/ADSIProvider/ADSIProvider.vb is the implementation of the class DotNetNuke.Security.Authentication.ADSIProvider. One of the methods in this class looks like this…
 
Public Overrides Function IsAuthenticationMember(ByVal AuthenticationGroup As Authentication.GroupInfo, ByVal AuthenticationUser As Authentication.UserInfo) As Boolean
 If Not AuthenticationGroup.IsPopulated Then
   PopulateMembership(AuthenticationGroup)
 End If
 
 Return AuthenticationGroup.AuthenticationMember.Contains(AuthenticationUser.DistinguishedName)
End Function
 
I have an AD group ‘B’ that contains the AD group ‘A’ that contains me as a user. The Return statement in the above function fails because AuthenticationUser.DistinguishedName contains my distinguished name, but AuthenticationGroup.AuthenticationMember (the list of members of group B)contains only the distinguished name for group A. This line of code needs to be expanded to traverse the hierarchy of AD groups. The only problem left is that I have no idea where to start! If anyone could point me in the right direction I’ll gladly have a go at fixing the problem.
 
Thanks
 
Bill
 
New Post
1/10/2007 3:48 PM
 
BTW - I have written code to resolve this issue. If anyone is interested I could supply the changes. Also, if anyone wants compiled assemblies for version 4.3.5 I can supply those too. Finally, I have created a bug report if anyone wants to track it.
 
New Post
1/29/2008 4:52 AM
 

Can you please mail be the code along with the steps to implement it. I am using DNN 4.6.2. My mail address is yogesh.kenkare@itu.int

Thanks

Yogesh

 
New Post
1/29/2008 11:04 AM
 

Yogesh, nested groups is handled in the next version of the provider which is currently going through the release tracker.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN Roles and nested Groups?DNN Roles and nested 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