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 Provider 01.00.04 issuesAD Provider 01.00.04 issues
Previous
 
Next
New Post
5/13/2008 4:51 AM
 

Hi all,

I've managed to get the AD Provider 01.00.04 Beta working, but am having a few issues.

  1. After a while, when a new users logs on they end up having incorrect data in their user details.  The username is correct (domain\login) but the First Name becomes the login part, the Last Name becomes the domain part, and the Display Name is blank.  They can't edit the profile themselves because the display name is blank.  If I disable and re-enable AD syncing, sometimes the functionality comes back but after a while it reverts back to the incorrect data.
  2. The "Synchronise Roles" doesn't seem to work.  I've pre-created the roles in DNN before synching, and nothing happens.  Could someone please post some detailed information about exactly what this is supposed to do?  There's too much old info floating around to get a clear picture.

Regards,

Carl.

 
New Post
5/13/2008 6:06 AM
 

Carl,

  I can explain #2 only:

When you turn on Synchronise Roles here is what happens (Mike correct me if I am wrong):

  1. A user logs in.
  2. DNN looks at what roles are avaliable in Security Roles and sees if that user belongs to any of those roles with the exact same name in your Active Directory.
  3. If they do it automatically assigns that role to that user in DNN.
  4. Also, If they did  belong to that AD group at one time but no longer do it  will remove them.

NOTE: This happens everytime a user logs in, so if you manually add a user to role only in DNN that they dont belong to in the AD it will take them out on their next login

If this is turned OFF it does not compare DNN security roles to the AD roles

 

 
New Post
5/13/2008 5:49 PM
 

Craig has it correct. One thing to look at is that the Roles use the Pre-Windows 2000 group name (if it's different than what's displayed in the AD). Another problem that seems to be cropping up is in situations where there's 1000's upon 1000's of groups in the AD especially if they're children of a parent group. The SearchNestedGropus function in the code seems to be timing out in those situations and then none of the synchronization is done. I think I've got a fix for it but I haven't had time to properly test it.

As for your first problem, I haven't seen/heard of that happening since the very early days of the provider (before I got involved) but I've never been able to duplicate it. Could you check your DNN/IIS logs to see if a possible clue is in there?

 
New Post
5/19/2008 2:03 AM
 

Sorry for the lateness of the reply: I forgot to check "Email me for updates".

I've checked both the event viewer logs on the IIS machine, and the DNN event viewer, but nothing stands out.  DNN event viewer has only a single entry for the logon of a new user (IP: ..., WindowsAuthentication: True, Server Name: ...).  When I check the pre-configured DNN role, it is empty.

Given that there is no errors in the logs, I think my configuration must be incorrect.  Allow me to explain exactly what I have done.

I use Active Directory Explorer to check the AD details of my test user.  In the "memberOf" attribute, it lists the groups to which the user has access.  I have chosen one of these groups for testing.  To be precise (changing data here for privacy), the object is "CN=Joe Bloggs,OU=Contoso Users,DC=Contoso,DC=local" and one of the group values is "CN=Contoso Developers,OU=Contoso Users,DC=Contoso,DC=local".  In DNN, I have set up a role called "Contoso Developers", and have deleted the DNN user.

I now logon to the DNN site while logged on to my Joe Bloggs windows account (I'm doing this using a link on the page to .../DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx).  DNN creates the user successfully.  I immediately logoff DNN and logon to my host account.  The role "Contoso Developers" remains empty.  If I manually add the Joe Bloggs DNN user to the group, it works.  And by the way, the Joe Bloggs user has a first name of jbloggs and a last name of CONTOSO (reflecting the windows username and domain).

Is my configuration correct?

Carl.

 
New Post
5/19/2008 7:22 PM
 

Carl, it sounds like your setup is correct. I have run into situations where the user account doesn't immediately appear in the role but, also, others have posted that roles aren't being synchronized anymore (even in the .03 version) though I can't duplicate the problem. I'm going to be looking at the synchronization code again this week and hope to have an .05 beta out towards the end of the week.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAD Provider 01.00.04 issuesAD Provider 01.00.04 issues


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