Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  AD membership not synced into DNN security roles
Previous Previous
 
Next Next
New Post 7/31/2008 12:48 AM
Unresolved
User is offline Steve Curry
2 posts
10th Ranked


AD membership not synced into DNN security roles 

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 8:02 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: AD membership not synced into DNN security roles 

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 6:06 PM
User is offline Steve Curry
2 posts
10th Ranked


Re: AD membership not synced into DNN security roles 

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 8:39 AM
User is offline Mike Horton
3163 posts
dnn.gmss.org
4th Ranked






Re: AD membership not synced into DNN security roles 

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 3:24 PM
User is offline Zack
10 posts
10th Ranked


Re: AD membership not synced into DNN security roles 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  AD membership not synced into DNN security roles
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Aricie
Aricie is one of the French pioneers and experts in DotNetNuke technology.
www.aricie.com
AFUEGO!
Looking for Free DNN Hosting?
www.AFUEGO.com
Code 5 Systems, LLC.
The DNN Missing Link: A Form Module. Form Master 1.6 is an intuitive Form Creation Module at a great price. Quality Custom Module development, and DNN consulting services.
www.code5systems.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP