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 AD Fix:  UPDATEDDNN AD Fix: UPDATED
Previous
 
Next
New Post
10/27/2006 3:21 PM
 

I'm assuming that you can at least view the AD so that you know what roles you need to add to DNN. If you right click on the group and go to Properties there's a section that says Group Name (pre-Windows 2000) under the General tab. If you don't have access to look at the AD then your IT guys can get you the information. Usually it's the same but it doesn't have to be.

I've never actually sat down and stepped through the ADSI code so I can't comment on what you're seeing but I've got to assume that it's correct as it's working for other people. As far as testing on an XP machine using impersonate; that should work fine as well as that's what I'm using in my testing.

 
New Post
10/27/2006 3:41 PM
 
Yes, the pre-Windows 2000 name is the same as the DNN role name.  Any testing suggestions would be helpful.

As for the built-in DNN roles, that shouldn't be a huge problem since what Stuart suggested (creating AD groups to match DNN roles) can work for us.  We'd rather leave most of the administration in AD.  I imagine that we'd only have to delete users from DNN to clean up after they leave the company.
 
New Post
10/27/2006 4:23 PM
 
        Private Overloads Sub PopulateMembership(ByVal GroupInfo As Authentication.GroupInfo, ByVal GroupEntry As DirectoryEntry)
            If Not GroupInfo.IsPopulated Then
                ' Populate membership with distinguished name
                For Each strMember As String In GroupEntry.Properties(ADSI_MEMBER)
                    'Store DistinguishedName, this method is more accurated
                    GroupInfo.AuthenticationMember.Add(strMember)
                Next
                GroupInfo.IsPopulated = True
            End If
        End Sub

The line in Red above never gets executed.  I'm assuming that this line actually does the role assigning because no where else in the code does it look like it's supposed to.  I've never seen a For Each used with a string like that, but it's apparently valid syntax and it compiles.  It does hit the For line, but then goes straight to "GroupInfo.IsPopulated = True".
 
New Post
10/30/2006 11:33 AM
 

I updated DNN AD FIX for DNN 3.3.5 to fix the issue with the user being removed from the DNN Administrator role.  Everything else is the same.

Stuart

-------------------------------------------------------

This is a Dotnetnuke source update which changes the behavior of the ADSI (Active Directory)component.

When installed on your Dotnetnuke install this update will make it so:

  • All newly created users will now have their Time zone set to the portal time zone.
  • Users profiles are updated from Active Directory every time they access the DNN site.
  • The Display Name field is now populated in DNN from Active Directory.
  • DNN Roles and AD Roles are now sychronized each time a user accesses your DNN site.

This seems like a MUST for any Intranet setup of Dotnetnuke.

  • Great for Intranets!
  • Easy to install, takes a few seconds!
  • Includes easy install instructions.
  • Comes with the source. (:hint: :hint:)
  • Doesn't fade your whites!
  • ABSOLUTELY FREE!

Specifications

DNN AD Fix is for DNN version 3.3.5 ONLY! 

------------------------------------

http://www.getyourowntots.com/Projects/DNNProjects/DNNADFix/Download/tabid/99/Default.aspx


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
10/30/2006 11:45 AM
 
For Each strMember As Object In GroupEntry.Properties(ADSI_MEMBER)

I changed the above and it works for me now.  Apparently my AD setup does it differently?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN AD Fix:  UPDATEDDNN AD Fix: UPDATED


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