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 ForumsAuthenticationAuthenticationRenaming the DNN Administrators Role - really need helpRenaming the DNN Administrators Role - really need help
Previous
 
Next
New Post
1/11/2006 10:09 AM
 
scott,

thanks for your SQL code. i might try that at some point. i'm a C# developer and don't have that much experience in VB. i'm looking in the source of the ADSI provider to figure out where the list of AD security groups get synced into DNN security roles. at that point, i could filter out a list of security groups (AD built-in security groups) from being assigned as roles. i'll post a workaround if i can find one.

thanks again,

kevin
 
New Post
1/11/2006 12:07 PM
 
i found a workaround that involves a small modification to the ADSIProver source. this example only filters out the built-in Administrators AD security group from the security groups to be synced with DNN security roles. it could easily be modified to filter out a list of built-in AD security groups. i've only done a little testing with this so far so proceed at your own risk. hope you find it useful.

1. Open the \\src\Providers\AuthenticationProviders\ADSIProvider\Provider.Authentication.ADSI.vbproj project file.
2. Go to the GetGroups() method. Find this block of code:

' Populate member with distingushed name
PopulateMembership(group, entry)

colGroup.Add(group)


3. Replace with this code block:

' Prevent built-in Administrators Security Group in AD from being
' automatically assigned as Administrators security role
' in DNN.
' -- START Modification --
If objRole.RoleName <> "Administrators" Then
' Populate member with distingushed name
PopulateMembership(group, entry)

colGroup.Add(group)
End If

' -- END Modification –

4. Build the DotNetNuke.Authentication.ADSIProvider.dll (don’t forget to be in ‘Release’ Mode!)

5. Backup the DotNetNuke.Authentication.ADSIProvider.dll in the \[dnn root]\bin\ folder and copy the newly built DotNetNuke.Authentication.ADSIProvider.dll into the directory
 
New Post
1/18/2006 4:28 PM
 

Hi Kevin,  would it be asking to much to see if you'd email me that dll to replace?

I can be reached at markguer "at" optonline dot net

Thanks..

 
New Post
3/3/2006 7:03 PM
 

Hi Kevin, any chance of sending that modified dll you created to me again?  I'm pleading technical difficulties over stupidity which ended up with it being poofed.  markguer 'at' optonline dot net

Thanks if you still watching this board.

--Mark

 
New Post
3/15/2006 3:08 PM
 

Ok, I know that I have been looking for a solution for this problem for quite some time and have revied virtually every article and post on the web that talks about it.  I finally broke down and just did the same thing that Kevin talks about above.

Now I have the .dll recompiled and it is working great.  I don't know how many others are still dealing with this problem, but I wanted to offer this .dll to others so that they don't have to go through the hassle.  However, I don't have an FTP or other hosting site available to offer the file, so I was wondering if there is anyone here that does have one and would be willing to make this .dll available to others.  If so, let me know and I will send you a copy of it.

As for now, anyone who would like a copy of this .dll can email me at brodden@healthpromedical.com

Thanks,

Ben

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationRenaming the DNN Administrators Role - really need helpRenaming the DNN Administrators Role - really need help


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