Hello, people,
I just decided to use Windows Authentication with my 4.5.5 DotNetNuke intranet, after using Mixed authentication with auto login for a year. So I did the following:
1. Set IIS Authentication to "Integrated Security" for the whole web site.
2. Changed DotNetNuke web.config to use <Authentication mode="Windows" /> instead of Forms.
3. Commented out HttpModule.Authentication: <!--add name="Authentication" type="DotNetNuke.HttpModules.AuthenticationModule, DotNetNuke.HttpModules.Authentication" /-->
And, voila! I entered the address in my browser and there I was, logged on automatically! I tried to log out, but I couldn't - just as expected.
But when I created a new user in Active Directory, logged on to windows as that user and tried to visit DNN website. BAM! I was being redirected from Default.aspx to Default.aspx, all the time, the loading progress bar of IE was flickering and nothing was happening. When I created new user in DotNetNuke with the same username, I logged on immediately.
So I came to conclusion: "If I use Windows authentication with my DotNetNuke, new users created in AD won't be able to log on DotNetNuke until I add them manually". Is this correct?
Also, if I use Windows Authentication, any users won't have their role membership snychronized with Active Directory! Is that also correct?
If you wonder why I switched from Mixed to Windows authentication: Mixed authentication with auto login worked well most of the times, but sometimes, users would got kicked out of DotNetNuke. For no reasons whatsoever. They would have to log in manually and then it would all work nicely for a couple of days/weeks/months, until they got kicked out again. My boss didn't find that amusing. :-(
I would really appreciate any feedback from you, guys.
Thanks!