I have an installation of DNN that is running since November 2011 (DNN 6.1.0) and was upgraded frequently to 9.12.0 atm. The installation uses DNN.ActiveDirectory version 7.2.0 for Intranet authentication. Works fine.
When trying to change the password format from "Encrypted" (which was the "secure" option at the time of the first install) to "Hashed", the site stops working. I can't find anything in the logs, except that the server was restarted (which is normal when changing the web.config), and again after setting back to "Encrypted". Nothing in between...
I tried to do this with a clean installation, changing the passwordFormat to "Encrypted" before running the installer, adding some users, changing to "Hashed" - every user could log in without a problem.
I suspect that the AD Provider is the bad guy, but anyone here who has an idea how to solve this?
Happy DNNing! Michael
Michael TobischDNN★MVP
The answer is: I am stupid.
When changing the passwordFormat to "Hashed", it is also necessary to change enablePasswordRetrieval to "false" (because of course it is not possible to retrieve passwords when they're hashed...). "true" was the default setting in DNN 6, and was changed to "false" as default when "Hashed" got the default passwordFormat. That explains the behaviour in my test (with the clean installation).
Has nothing to do with the AD Authentication Provider...
Posted By David Poindexter on 2/29/2024 5:21 PM Oh wow - great thing to keep in mind! Thanks for sharing your findings! By the way, I know a lot of people would be interested in a presentation on using DNN.ActiveDirectory. We have run across the need from time to time and have never gone down the rabbit hole to try and figure out this particular project. It is awesome to know there is an open source alternative. Do you think this is something you could present sometime for Southern Fried DNN? We could move our meeting time to accommodate your schedule (as long as it is not too too too early for us - haha).
David,
why not - would it be too late to discuss this at the DNN Connect conference in Switzerland this year? Will you be there?
Posted By Michael Tobisch on 3/1/2024 2:08 AM Posted By David Poindexter on 2/29/2024 5:21 PM Oh wow - great thing to keep in mind! Thanks for sharing your findings! By the way, I know a lot of people would be interested in a presentation on using DNN.ActiveDirectory. We have run across the need from time to time and have never gone down the rabbit hole to try and figure out this particular project. It is awesome to know there is an open source alternative. Do you think this is something you could present sometime for Southern Fried DNN? We could move our meeting time to accommodate your schedule (as long as it is not too too too early for us - haha). David, why not - would it be too late to discuss this at the DNN Connect conference in Switzerland this year? Will you be there? Happy DNNing! Michael
Michael, I think this would not only be great for DNN Connect, but for Southern Fried DNN as well. We kinda struggle to get people to commit to presenting, so any interest here would be great! ;-)
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.