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 membership not synced into DNN security rolesAD membership not synced into DNN security roles
Previous
 
Next
New Post
7/31/2008 2:48 AM
 

Configuration: Windows 2003 Server, DNN 4.06.00

Sorry, I didn't setup the site a and don't know DNN real well.  I believe we are running ActiveDirectory Provider 1.00.00.  The options match what the documents indicate that version supports.  However I can't find a way to verify that from the files on the production server.  The version info on DotNetNuke.Authentication.ActiveDirectory.dll says 4.6.0 for 1.00.00 and 1.00.03.  Is there a chance the guy who set this up (between July 07 and Dec 07) has a pre 1.00.00 version?  I don't know.

What does work: Authentication seems fine.  We do *not* auto login, most users are anonymous.  They go through a login page to enter name/pw.  This authenticates against AD and the site shows their correct user name. 

The problem: The users are not given the correct permissions from the security role that matches the AD group.  I have verified that the security role in DNN has the same name as the pre-Windows 2000 name of the AD group.  It all was working a few months ago.

The same thing happened Jan 2008. At that time we found the patch for KB941202 (MS07-056: Security Update for Outlook Express and Windows Mail) had been put on the machine and we tried removing it.  That fixed the problem. No, I haven't any idea how those are really related.

In June the same patch was put on the machine again (oops).  It has been removed again.  We thought it was fixed then but now I am not so sure.  We may have been confused by the fact that some users are directly added into the DNN security roles.

 Thank you for your time,

Steve

 
New Post
7/31/2008 10:02 AM
 

I'm pretty sure you're using 01.00.00 of the AD Provider (there were no previous versions and the provider was separated from the core for DNN 4.6.0) as the .03 version requires DNN 4.6.2. The 01.00.00 version should have a date of Sept 11, 2007 and is 68Kb in size and the .03 version has a date of Feb 7, 2008 and is 84Kb in size (when you look at the properties of the .dll).

I'm not sure why the roles wouldn't be synching (the easy answer is to ask you to double check that it's checked under Admin->Authentication). Are there any error messages relating to the problem in the DNN EventViewer?

I would strongly suggest that you update to DNN 4.8.4 as there are a number of DNN security fixes in that version and if you do then update the AD Provider to the .03 version (or the .04 beta).

 
New Post
7/31/2008 8:06 PM
 

Thank you Mike. From your description our dll is the 1.00.00 version.

I just checked (again :) and Synchronize Role is checked on the Admin->Authentication page.

We have started exploring an upgrade to 4.8.4 but it is daunting.  We are 1 software engineer and 1 network admin, both overworked on our main jobs in a volunteer organization and withoug experience in DNN.  We will look at it but...

I'm not sure if this is going to be useful info or not but here goes.  Working with one user I just went through a few experiments.

I added him explicitely to the dnn security role. He logged in. RESULT: he can’t edit.

I deleted his user from dnn. He logged in. It automatically created the user again. RESULT: he can’t edit.

 

I told him to keep his browser window open with him logged in. I added him to the dnn security role. He left the page and went back to it. RESULT: he can edit!

 

I suspect that deleting the user was not important but it may have been. In other scenarios deleting the user has cleaned up some confusion. I think the critical thing here is the combination of the person being logged in and then adding them to the security role. I believe what happens is that at login dnn tries to synchronize the role with active directory. It fails but in the midst of that the explicit addition of the user to the role gets lost (perhaps by design). Then, we add the user to the role again and that will last for awhile. I suspect it will only last as long as the user keeps that particular browser session alive. The next login will probably try to synchronize the role and go back to the failure state.

We'll look into 4.8.4.  Any other thoughts?

 
New Post
8/1/2008 10:39 AM
 

Ummm..... I'm not sure why you would be getting the "can't edit/can edit" problem. I've never seen that happen before. Do you have a lot of AD security groups? If so then the .04 version "should" help with the problem.

What if you uncheck Synchronize Roles and add the user to a Security Role. Does the setting stick and can he edit? I know it's a pain but it may be a solution until you get upgraded to 4.8.4 (As always, back up the site and the database before doing your upgrade).

 
New Post
8/1/2008 5:24 PM
 

Hey -- it seems that we might be facing a similar issue.  We're running 4.8.4 for a client, and we were originially running the ...03 AD provider but it would hang to a timeout whenever it had positive authentication, but only when Synchronize Roles was turned on.  Synchronize Roles was a desired behavior, as there are many authors on this site, so after upgrading to ...04 this morning, the clients are able to log in with Synch Roles on, but the roles associated with admin of various sections of the site seem to not correctly pull their permissions from AD.  (e.g. no Edit behavior shows up for them at their respective admin areas).  If we manually add a user to a role and that user logs in anew, it gets wiped back to where it was again (I would guess from the synchronization).

Perhaps this is a matter of an ill-configured setting either in IIS, AD, or DNN, but seeing as it appears to be a similar symptom, I thought I should post it and see if there's anything else that might be done about it.

Thank you.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD membership not synced into DNN security rolesAD membership not synced into DNN security 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