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 ForumsAuthenticationAuthenticationSync RolesSync Roles
Previous
 
Next
New Post
8/2/2007 12:18 PM
 

Simple question:

Does the AD Authentication Provider synchronize user roles ("Sync Roles") on every user login or not?  

For instance, if "UserA" logs in from AD, I see that DNN will put him in the roles that I have defined if they match the AD Groups.  However, if I then subsequently REMOVE that user from an AD group on the Domain Controller, and then later "UserA" logs into my DNN site, he is STILL IN THAT ROLE on my DNN site!!!  What does "Sync Roles" actually do, then?

I see that much focus is being spent on Authentication for version 4.6, and I think it is time to shed some light on AD since it has been neglected for so long in DNN.

 
New Post
8/2/2007 12:47 PM
 

It doesn't on every login even though it should. That's one of the reasons Stuart Hilbert created the AD Fix for DNN 3 and I converted it for DNN 4.

With DNN 4.6 it's one of my priorities to make sure roles are synced on every login. The current code checks the DNN database when an AD user logs in and if they already exist (and the password is correct) then it doesn't check any further against the AD. If the account doesn't exist (or the password is wrong) then it checks against the AD. What I plan on implementing is a reversal of that process. The code will always validate against the AD first and if it fails there it will then check against the DNN database (in case access to the AD can't happen for one reason or another (network problems, etc).

 
New Post
8/2/2007 12:55 PM
 

That is super great to hear (about the new 4.6 being able to sync roles).

One caveat to your proposed implementation of "reversal":  IF the user NO LONGER exists in AD, then the user should NOT be allowed to login (i.e. it should not revert to DNN authentication if the user no longer exists in AD).

Thanks!

-- Will G.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationSync RolesSync Roles


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