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 ForumsAuthenticationAuthenticationRole SynchronizationRole Synchronization
Previous
 
Next
New Post
1/13/2006 4:13 PM
 

I'm having trouble with role syncronization.  I understand that the roles currently sync only upon the first time a user logs on and the user account is created.  Any help/input is greatly appreciated.  Also, this is definitely not a demand...I found DNN about a week ago and am implementing it for my company's intranet so that I can spend some of my development time on another website redesign.  So far, I am loving DNN.  Anyway, here's a quick rundown of my settings.

DNN 3.2.2 on Win 2K3 server with IIS 6.0 and ASP.NET 1.1
Admin > Authentication settings
   WinAuth and SyncRole both checked
   Defaults and blanks for everything else
   All LDAP checks are sucessful...both domains on my network show properly

Admin > User Accounts
   None except for the admin account.  I've successfully authenticated with my network account, but haven't been successful in getting the roles to sync, so I just delete my account and try again with new settings.

Admin > Security Roles
   The default roles
   Two other roles to match an AD security group - names are in this format Doman\Groupname and Groupname.  Neither is set up to be public and neither is set up to automatically assign.

Web.config
   Using forms authentication

Login page has annonymous access unchecked.

I've tried several different naming conventions on the security roles.  After deleting my network account from DNN's user account page, I log off from the DNN admin account.  Then I close all browsers...clear all caches...and load the homepage.  The DNN site authenticates me properly...creates a new DNN account for my network user info...logs me in.  I then log out of my network account and log back in as admin.  Going to admin>user accounts, I see my newly created account with Domain\Username in the user list.  However, when I go to edit that new user account's roles, the DNN role has not been sync'ed with the AD role.

Once again, any input is appreciated.

Thanks!

 

 
New Post
1/26/2006 4:42 PM
 

Any update on this?

I am in about the same situation, though I believe  have determined that the role synchronization only works with groups that a user account has direct membership in. For example, let's say my user account is in the "Developers" group (global security) in the AD, but since we have two different domains, there is also a "Developers-U" group (universal) which holds the Developers group from each domain. Then that universal group is a member of what we call a resource group: "WebPortal-R" (domain local security). If I enter that resource group into the DNN site, my account's membership is never recognized. However, if I enter the original "Developers" group, then that gets picked up.

So, it looks like nested groups of different types don't track properly, or nested groups as a whole do not work.

Any thoughts?


--
Tim Rolands
Avastone Technologies | House of Nuke
Where DotNetNuke(R) Lives
 
New Post
1/26/2006 11:30 PM
 

Role synschronisation works if you have a Security Group in DNN with the exact same name as an Active Directory group and the user is a member of the group. DNN will not automatically create the groups that you are members of in Active Directory.

Nested Roles:

I've re-written all my code to handle this (i.e.- recurse through the members of a role until ti finds a match with the username) I'm just testing it but plan to put this back out to the community and get more involved in AD. Give me a week or so and I'll make the code available.

Other things I've done:

- Random passwords in the portal (it was not acceptable to me to expose the AD passwords to anyone)

- Moved the user registration into the Register model (Did not make sense to ask people to log in to register - that's what windowssign.aspx does.)

-  portal security settings are now not iignored (public, private none) and authorisation is back in place

- added a feature where an Administrator can add a user by simply typing the AD.

- if ADSI is enabled, do not show password reminder button.

 

 


Ian Sampson Glanton Solutions - DNN Partner AD-Pro - Active Directory integration for DNN Are you contented? Ask us how you can use DNN to converse, convert and connect your audience.
 
New Post
1/27/2006 11:30 AM
 
Great, can't wait to see the changes!
 
New Post
1/31/2006 4:50 PM
 
sampsoia wrote

Role synschronisation works if you have a Security Group in DNN with the exact same name as an Active Directory group and the user is a member of the group. DNN will not automatically create the groups that you are members of in Active Directory.

I understand this.  As mentioned in my post, I created the Security Roles in DNN to match AD.  I am a direct member of one of the groups from AD that I tried.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationRole SynchronizationRole Synchronization


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