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 behaviour in DNNAD behaviour in DNN
Previous
 
Next
New Post
6/29/2009 3:53 PM
 

No your users will authenticate with their credentials, trust me on this. All the impersonation user does is say, "Hello AD, yes I do have permission to talk to you and pass these user crendentials to you." I don't know if you use the Server Administative Tools or not but if you do try running them as a user that's not on the domain. It'll fail but as soon as you give it a domain users credentials all is good. It's the same concept.

I'll have to see if I can setup an XP SP2 install to try and duplicate what you're seeing as far as the WindowsSignin not working.

 
New Post
7/2/2009 6:04 AM
 

Hi Mike,

 

Just thought I would let you know that I have since installed DNN on a server instead of my local machine. It’s a windows server 2003 SP2.

 

I have installed the AD provider and turned windows auth on. I didn’t need to use impersonation this time as im now getting the prompt to login when I hit the site. However it only works when I browse to it on the actual server its on. If I do it from my computer it doesn’t do anything.

 

Not sure if you know why that might be? But im making progress anyway! J

 

Thanks,

 

Kevin

 

 
New Post
7/2/2009 10:15 AM
 

Hi,

 

I have been working through a couple of issue with AD in DNN, it maybe that my brain is now fried but I have just thought…

 

Regardless of what roles you set up in AD, how will dotnetnuke recognise which role your in when looking you up against the DNN DB?

 

Is it not that everybody will be able to login because windows auth is turned on, and once they have done so, we need to assign them to a DNN role?

 

Thereafter the user will authenticate automatically and the role will be assigned by what is against them in the DNN DB.

 

Is this statement true?

 

Any help would be great! J

 

Thanks,

 

Kevin

 

 
New Post
7/2/2009 2:13 PM
 

When you have a server setup properly for AD authentication, here is what will happen:

1. User browses to DNN site.
2. DNN checks with AD to see if they are a valid user (using the login information in the AD Authentication menu).  If not, the login is unsuccessful.
3. If synchronize roles is enabled, DNN queries AD to get a list of groups that that user belongs to.
4. DNN checks to see if there is an existing account with that username. If one does not exist, a new account is created.
5. DNN compares the AD group list to its own list of security roles.  If any of the DNN security roles matches a AD role, DNN updates the security role with the correct role membership.
6. User is now logged in and ready to work.

I might be off slightly on the order of events, but that is basically what the AD authentication modules does.

Hope that helps understand how it works.

 
New Post
7/3/2009 6:07 AM
 

Hi Dan,

Thanks for your reply. That has helped me understand things a bit better. :)

Just wanted to query what you meant in point 3 when you said 'if synchronize is enabled'. My understanding is that if you had a group in AD called ''Sales" and then the same role in DNN, a user in AD who is part of that group would authenticate to the role "Sales"

Is there more to it than that?

Thanks,

Kev

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD behaviour in DNNAD behaviour in DNN


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