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 Security QuestionAD Security Question
Previous
 
Next
New Post
1/31/2009 1:19 AM
 

I got the AD provider up and running on a DNN5 site.  I was able to figure out how to install and configure it by the forum posts and tinkering.  I'm now auto-logging in through the WindowsSignIn.aspx page.  I don't totally understand how it works.  I want to create a parent portal that all Members in our Business Unit have access to.  I then want to create a separate child portal for each department.

Now that I have AD integration up and running, how do I restrict access in each portal?  When I go to the users or security role screens I do not see a way to get to my AD users or groups. 

Thanks for your help!

 
New Post
2/2/2009 10:51 AM
 

You have to manually add your AD Groups as DNN Security Roles.

 
New Post
2/3/2009 1:25 PM
 

Thanks for the reply. 

I added the IT department AD Group to the portal and it worked great. 

However, I then had a normal user login to the site.  There is not a role setup affiliated with any AD group she belongs to .  It allowed her to pass-through and automatically set her up as a registered user & subscriber.  Is there a way to disallow her access unless her AD group is setup as a security role?

 
New Post
2/3/2009 3:38 PM
 

This is something I've never tried before. Usually if there is information I don't want someone to see I lock it down with the view permissions on the page. I'm not sure what would happen if Registered User and Subscriber were made "Not public" roles (if public is checked off on the Role then users are automatically added to the role).

 
New Post
2/3/2009 5:30 PM
 

How complicated would the source changes be for this?  I like everything else about the provider except for it auto creates users that are not in any AD group mapped to a security role.  I'd like to change it so that prior to creating the user it looks up the AD groups in the Portal and checks if the about to be added user is a member in any of those groups.

It looks like the AuthenticationLogon() routine in the AuthenticationController class would have to be altered.  Am I correct that this clause would need additional logic wrapped around it:

 


If Not objAuthUser Is Nothing Then
  'Add logic here to check if objAuthUser is member of AD groups in Portal
 
Dim createStatus As UserCreateStatus = objAuthUserController.AddDNNUser(objAuthUser)
  intUserId = objAuthUser.UserID
  SetStatus(_portalSettings.PortalId, AuthenticationStatus.WinLogon)
End

 

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Security QuestionAD Security Question


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