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 ForumsAuthenticationAuthenticationDNN AD Fix:  UPDATEDDNN AD Fix: UPDATED
Previous
 
Next
New Post
12/1/2006 5:11 AM
 

Hello Timur,

Sorry for the late reply. I was busy with some other projects last weeks. Today and this weekend I will try to spend some more time in solving the problem. I'm curious to see if the 4.3.7 upgrade maybe works better. 
Thanks for your reply about the fix then I can also try that. Fingers crossed ;-)

 
New Post
12/1/2006 4:24 PM
 

Hi Dennis,

Thank you for your reply.

Hopefully the fix will work for you to.

Let me know how the DNN 4.3.7 upgarde goes (does it fix the AD issues).

Thanks,

Timur

 
New Post
12/14/2006 2:04 AM
 
I finally got the 4.3.7 source setup so that I can debug the athentication and discovered something that I hadn't noticed before. If the site is running in mixed mode then two of the things the ADFix was supposed to do never happens (profiles updated from the AD everytime they login and roles synchronized with the AD on every login). I went back to the 3.3.5 install that we're using on our intranet and discovered that since I commented out the Authentication line in the web.config that the same thing is happening there. I'm going to look at trying to fix it tomorrow if I have time. Basically if you're using mixed mode it's using the signin.ascx.vb instead of the windowssignin.ascx.vb which makes perfect sense. When the login button is clicked the code checks to see if the user already exists in the database. If the user does then it skips over a lot of code and signs the user in. If the user doesn't then it checks the AD Authentication and adds the user if it can. What I'm thinking is after checking if the user exists and finding out he/she does is then checking to see if anything has been setup on the Authentication page and if yes then calling the code Stuart wrote to update the profile and synch the roles. What I'm not sure on what the effect would be if an admin was attempting to use Authentication and either couldn't get it working properly or decided he/she didn't want to use it and forgot to uncheck the Windows Authentication checkbox. I want this to be as seemless as possible so that there doesn't end up being a bunch of strange posts here that don't make sense.
 
New Post
12/19/2006 12:14 PM
 

I've got the fix updated for 4.3.7 and the code working so the synching works in both mixed mode and in authentication mode but I need people who can test the package for me. Either reply here with your email or email me directly at mhorton@telus.net

Thanks

 
New Post
12/20/2006 6:25 AM
 
I don’t know what you have done, but I’m using mixed mode authentication and in my case, I changed de Domain.vb in the Authentication.ADSI project.
 
The Private Sub PopulateChild as commented … some lines, because the attribute Domain.Password is now WriteOnly. So wath I found was that the error was rigth here, someone comment the code and perhaps as not tested…!!!
 
Resolution: The construtor receives the password, so i passed this password to a string in the constructor and use that strin in the Sub PopulateChild
 
Code Line: 128
If (Not Domain.Username Is Nothing) AndAlso (Not strPassword Is Nothing) Then
child = ADSI.Domain.GetDomain(entry.Path, Domain.Username, strPassword, Domain.AuthenticationType)
Else
child = ADSI.Domain.GetDomain(entry.Path)
End If

mikeh wrote

I've got the fix updated for 4.3.7 and the code working so the synching works in both mixed mode and in authentication mode but I need people who can test the package for me. Either reply here with your email or email me directly at mhorton@telus.net

Thanks

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDNN AD Fix:  UPDATEDDNN AD Fix: UPDATED


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