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  |  

  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

Merak Mail Server
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Authentication ...  AD Provider 01.00.04 issues
Previous Previous
 
Next Next
New Post 5/13/2008 1:51 AM
User is offline Zodman
9 posts
10th Ranked


AD Provider 01.00.04 issues 

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 3:06 AM
User is offline Craig Carns
62 posts
www.ctc.com
10th Ranked




Re: AD Provider 01.00.04 issues 

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 2:49 PM
User is offline Mike Horton
2694 posts
dnn.gmss.org
5th Ranked






Re: AD Provider 01.00.04 issues 

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/18/2008 11:03 PM
User is offline Zodman
9 posts
10th Ranked


Re: AD Provider 01.00.04 issues 

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 4:22 PM
User is offline Mike Horton
2694 posts
dnn.gmss.org
5th Ranked






Re: AD Provider 01.00.04 issues 

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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Authentication ...  AD Provider 01.00.04 issues
 


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.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de

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